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



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

Answer / 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

More C Sharp Interview Questions

Whats an assembly? Describe the importance of assembly?

1 Answers   Siebel,


Is list a collection c#?

1 Answers  


Can you override private virtual methods?

11 Answers   AROBS Transilvania Software, IBM, Mind Tree, Revalsys,


what is an event? Define delegate?

1 Answers  


Does c# support multiple inheritance (mi)?

1 Answers  


What is property in c#?

1 Answers  


class Program { void add() { int x=10, y=20; fun(); Console.WriteLine("{0}", sum); } void fun() { int sum; sum = x + y; } static void Main(string[] args) { Program f =new Program(); f.add(); } } Debug above program.....

3 Answers   HCL,


How are methods overloaded?

1 Answers  


Can a class inherit structure.

4 Answers   IBM, Synechron,


What is the implicit name and type of the parameter that gets passed into the class set method?

1 Answers  


What is list collection in c#?

1 Answers  


What is void in c#?

1 Answers  


Categories