Three types of test cases in Unit Testing
These test cases are mandatory while performing the Unit Testing :
Positive Test Cases (Correct data, Correct output)
Negative Test Cases (Broken or missing data, Proper handling)
Exception Test Cases (Exceptions are thrown and caught properly).
Positive Test Cases (Correct data, Correct output)
Negative Test Cases (Broken or missing data, Proper handling)
Exception Test Cases (Exceptions are thrown and caught properly).