Testing your solution
Although you will have tested your code throughout the development stage, it is now time to complete integration testing Individual software modules, functions and procedures are tested together, system testing testing conducted on a complete system or entire program to ensure the system meets the user requirements and acceptance testingTesting in the real world by intended users. It will determine if the system requirements are met. testing on your code.
It is important to evaluate your solution, how suitable and robust it is, and what improvements could be made.
Test plan
Your test plan should be presented in a table, identify the test case, the test data, the expected result and include a screenshot of the actual result. You should explain any failed tests or unexpected results.
A section from a sample test plan can be seen below:
Test# | Test | Test data | Expected result |
1 | validateName function | Normal Data 鈥 Harriet | Name accepted and returned as valid |
2 | validateName function | Null Data | Error message appears and user asked to enter a valid name |
3.1 | validateName function | Erroneous data 鈥 12345 | Data rejected and user asked to re-enter name |
3.2 | validateName function | Random string with 51 characters | Data rejected and user asked to re-enter name |
Test# | 1 |
---|---|
Test | validateName function |
Test data | Normal Data 鈥 Harriet |
Expected result | Name accepted and returned as valid |
Test# | 2 |
---|---|
Test | validateName function |
Test data | Null Data |
Expected result | Error message appears and user asked to enter a valid name |
Test# | 3.1 |
---|---|
Test | validateName function |
Test data | Erroneous data 鈥 12345 |
Expected result | Data rejected and user asked to re-enter name |
Test# | 3.2 |
---|---|
Test | validateName function |
Test data | Random string with 51 characters |
Expected result | Data rejected and user asked to re-enter name |