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

use of operator overloading of implicit & explicit operators?

1 Answers   TCS,


What are the 2 broad classifications of data types available in c#?

0 Answers  


What is nameof c#?

0 Answers  


Are tuples immutable c#?

0 Answers  


What is Lambda Expression?

1 Answers  






1.write a program in C# to find a given point which is inside in a circle. Given circle's radius and its center point? 2.Write a program in C# to generated 20 prime numbers greater than a given number? (It should be more efficient for large numbers also) 3. Write a Code to check whether a given point is inside a circle or not? given Circle's raduis and its center point. 4. using oops concept, design an elevator do not forget buttons on each floor..

2 Answers  


What is the difference between asp net and c#?

0 Answers  


Explain the difference between the debug class and trace class?

0 Answers  


interface a { Method1() Method2() } class b: a { override Method1() override Method2() } what will happen & why?

5 Answers  


Explain the difference between proc. Sent by val and by sub?

0 Answers  


what are value types and reference types? where they are stored?

5 Answers   Kanbay,


What are the different types of assemblies available and their purpose?

0 Answers  


Categories