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

Can a static class have a constructor c#?

677


What are classes in c#?

758


What are custom exceptions? Why do we need them?

708


What is static void main in c#?

709


Why cannot you specify the accessibility modifier for methods inside the interface?

674


What is the advantage of static class in c#?

679


What are the new features in c# 2.0?

707


Explain the steps to create satellite assembly?

666


Define property in c#.net?

702


What .exe means?

692


Why do we use reflection in c#?

676


What does get set mean in c#?

681


Asha buys 16 Chocolates for rs 12 and 24 chocolates for rs 20, if she sold them 30 chocolates for rs 30 then what is the Gain/Loss percentage? Gain(700/19 %) Loss(700/19 %) Gain(500/19 %) Loss(500/19 %) If one person ate 100 grapes in 5 days and 6 more each day from starting, what was the no of grapes he ate on first day? 6 8 10 7 If seven men P, Q, R, S, T, U, V parked his car, P and Q something like that. 6 student J, K, L, M, N, O went for picnic in 2 batches, K and L have to go together, M and O do't go together, if O and L go in one batch then which of these combination will be wrong. Jmnp Jklo klop JKLO a boat can go upstream and down stream, if it goes 5/2 times of downstream at the speed of 6 kmph then what will be the speed of upstream? 15 KMPH 12 KMPH 10 KMPH 11 KMPH A, B, C, D, E sitting on a table, A sits 2 seat left from B and C sits 2 seat right from B then what will not be the combination ACDE

3932


What are the 2 broad classifications of fields in c#?

716


What are the different types of constructors in c#?

797