Read more about Validation
Below is a presentation on validation, specifically validation with validation examples in python programming. Validation is a very important concept in all coding and you would have to build it in to all your projects and programs. Read the presentation carefully and go through all the examples, trying them yourself and testing how they work. You can then attempt the challenge below. See if you can create additional programs using reg ex (regular expressions) validation. Remember it is the "import re" command at the very top that allows you to work with regular expressions - one of the best ways to carry out validation in python
Important: Note the use of import re at the very start of the program. This is essential if you are working with regular expressions for validation purposes
You can either edit and code online in repl.it (click on the link on the right which says EDIT on repl.it. Alternatively, you can simply cut and paste the below into your own python file
A sample flow chart (design) for this particular challenge could look like:
Test No. | Description | Test Data(input) | Expected Outcome | Actual Outcome | Further Action? |
---|---|---|---|---|---|
1 | |||||
2 | |||||
3 | |||||
4 | |||||
5 |