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

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.

5449


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.

2647


how to tell project details in interview the project is funds flow analysis?

1399


Did you used crystal reports? Do you have sufficient knowledge on crystal reports?

2358


How do you create the Software Project Management Plan (SPMP)?

4281


create a flow diagram up to 2 levels for hospital management

3435


Write a function that inserts an integer into a linked list in ascending order. Write the test cases for this function.

5315


Tell about current project ?

2460


How do you ensure that your project plan is available for others to see? Where will you find the plans of other projects executed (in the past or currently) in the center?

2254


What and where are the policy statements for software project planning?

3213


Please, i am a final year student in nigeria and i have a project on pension fund administration and i need help in starting.

2083


Why do you want to work for Microsoft?

2896


What training have you undergone in project planning?

3528


Write the instr function.

925


Write the test cases for instr function?

821