Click here to Skip to main content
15,867,308 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Test Driven Development means write a test First Then we write code to make the test pass.

Question:

i need a calculator to add two numbers,
platform console application
input two numbers
print the correct answer

so help me to make the correct test case ?
Posted

Please follow below mentioned articles and after that try to do your task.

.NET TDD (Test Driven Development) by example - Part 1[^]

Test Driven Development(TDD) in C#[^]

I hope this will help to you.
 
Share this answer
 
Sampath has posted some great reads . Just wanted to add one more article to it.

http://www.developerfusion.com/article/9375/tdd-in-practice-dealing-with-hardtotest-areas/[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900