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

Answer Posted / guest

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

Is This Answer Correct ?    17 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why singleton class is sealed in c#?

513


What is the difference between ref and out parameters in c#?

460


What is a trace and asset? Explain some differences?

703


What is response redirect in c#?

483


Is xamarin free?

450






When should I use static in C#?

556


How to properly clean up excel interop objects?

506


Is datetime value type c#?

481


Does c# provide copy constructor?

573


What is a console in c#?

487


Can we use "this" command within a static method?

551


What are namespaces, and how they are used?

569


What is dbcontext c#?

484


What is Co- and Contra-Variance in C#?

540


Does c# support const methods, properties, or events?

547