本文介绍了逐步测试驱动开发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
测试驱动开发意味着编写测试首先然后我们编写代码以使测试通过。 问题: i需要一个计算器来添加两个数字, 平台控制台应用程序 输入两个数字 打印正确的答案 请帮助我做出正确的测试用例?
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 ?
推荐答案请按照下面提到的文章,然后尝试做你的任务。 .NET TDD(测试驱动开发)示例 - 第1部分 [ ^ ] C#中的测试驱动开发(TDD) [ ^ ] 我希望这会对你有所帮助。 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.
Sampath发布了一些很棒的读物。只是想再添加一篇文章。 www.developerfusion/article/9375/tdd-in-practice-dealing-with-hardtotest-areas/ [ ^ ] Sampath has posted some great reads . Just wanted to add one more article to it. www.developerfusion/article/9375/tdd-in-practice-dealing-with-hardtotest-areas/[^]
更多推荐
逐步测试驱动开发
发布评论