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

When should you use generics?

510


What is different about switch statements in c#?

490


Explain About Web.config

559


What will be the output of the following code?

507


Are arrays immutable c#?

515






What is an assembly loader?

512


What is namespace explain with example?

454


How do you specify a custom attribute for the entire assembly (rather than for a class)?

523


What is lambda expression in c#?

505


What does static mean in c sharp?

570


Illustrate the differences between the system.array.copyto() and system.array.clone()?

509


Can properties be static in c#?

544


What is interface used in c#?

583


What is default c#?

500


Where’s global assembly cache located on the system?

526