C# (Sharp) Programming Language Question:

Download Job Interview Questions and Answers PDF

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

C# (Sharp) Programming Language Interview Question
C# (Sharp) Programming Language Interview Question

Answer:

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).

Download C# (Sharp) Programming Language Interview Questions And Answers PDF

Previous QuestionNext Question
How do you debug an ASP.NET Web application?Explain ACID rule of thumb for transactions in C#.