How do you know when you have enough test cases to adequately test a software module? What criteria do you use to make sure that you have enough test cases?
We can know whether test case is adequate for testing by using traceability matrix because through this only we know whether we have covered all the requirements.
- List the functions used/performed by the module. - Check / tick mark the functionality covered in the test cases. - Write positive test cases and negative test cases for the functionality BVA Equivalance partitioning has been covered. - Ensure with the requirement specification that all the points are covered.
Traceability matrix is one such wonderful technique used to determine the same. A test case document is said to be complete if all the functional points discovered in SRS are covered.
To be more precise a functionality must have a minimum of one test case and maximum of many that depends on requirements. Any other valuable answers is expected.