How do you write unit test cases ?

Answer Posted / naveen verma

First approach must be to break your code. Write the
testcase with wrost condition first and best condition later.

Is This Answer Correct ?    40 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

create a flow diagram up to 2 levels for hospital management

3232


How do you rate yourself in c#,vb.net,Asp.net,oracle,sql server ?

4978


Explain the various activities you do (as a PL) when the project is started up.

2368


Explain dll hell?

667


Can any one please give me an effective format for designing a functional specification and technical specification sheet for a software developemnt related company asap...it would be highly useful for my final year project.

2451






Tell about current project ?

2222


How would you deal with a bug that no one wants to fix? Both the SDE and his lead have said they won?t fix it?

2882


Given a MAKEFILE (yeah a makefile), design the data structure that a parser would create and then write code that iterates over that data structure executing commands if needed.

5172


What training have you undergone in project planning?

3332


funds flows analysis how to prepare for interview

1045


What is the project management structure in your project? Is a PL assigned to the project?

2041


Tell about yourself and job ?

2091


What is the role of CLR in ASP.NET?

3201


I want question and paper based MS Projects. Also is there any exam which microsoft conduct for Ms Project professional to issue certification?

2175


Write the test cases for instr function?

648