What are three test cases you should do while unit testing?

 Posted by Poster on 9/11/2009 | Category: C# Interview questions | Views: 10316
Answer:

Positive test cases
This is done with correct data to check for correct output)


Negative test cases
This is done with broken or missing data to check for proper handling

Exception test cases
This is done with exceptions (giving unexpected data or behavior) and check for the exception caught properly or not.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response