What are test cases you should go through in unit testing?

You need to check 3 test cases, which are the following,

1. Positive test cases (correct data, correct output)

2. Negative test cases (broken or missing data, proper handling)

3. Exception test cases (exceptions are thrown and caught properly)

0 comments:

Post a Comment