逐步测试驱动开发

编程入门 行业动态 更新时间:2024-10-09 19:18:17
本文介绍了逐步测试驱动开发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

测试驱动开发意味着编写测试首先然后我们编写代码以使测试通过。 问题: 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/[^]

更多推荐

逐步测试驱动开发

本文发布于:2023-11-23 07:10:33,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1620561.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:测试

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!