测试驱动开发 [英] Test Driven Development

查看:84
本文介绍了测试驱动开发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果有人知道测试驱动的开发方法并且plz提供了示例...........

if any one know about test driven development method and plz provide example...........

推荐答案

一个简单的例子:创建一个UI应用程序(ASP.NET或不是),它在默认项目之上什么都不做。然后开始编写项目所需的设施。只要您创建每个单个方法,一个导致任何显示效果的更改,将其添加到您的应用程序,就可以进行测试。自己测试或立即传递给测试团队。 (最好将两种方法结合起来进行测试。)重复这个循环直到你的项目完成。



实际上,事情比这更复杂。有测试框架,您需要进行许多不同类型的测试,包括单元测试,创建覆盖技术某些部分的单独原型,在开发过程中测试应用程序项目,回归测试,创建测试计划以及与开发计划协调,还有更多。



-SA
A simple example: create a UI application (ASP.NET or not) which does nothing above the default project. Then start to write facilities needed for your project. As soon as you create each single method, a single change that cause any manifesting effect, add it to your application, so it could be tested. Test it by yourself or pass to the testing team immediately. (It's the best to combine both ways to test things.) Repeat this cycle until your project is done.

Actually, things are way more complicated than that. There are testing frameworks, you need to do many different kinds of tests, including unit testing, creation of separate prototype covering some parts of technology, testing of your application project during development, regression testing, creation of testing plans and coordination with development plans, and a lot more.

—SA


这是一个链接,这将有助于我相信,您可能会遇到此问题和其他问题。

[ ^ ]



干杯,

Canny
Here's a link that will help I believe, for this and other questions you may have.
[^]

Cheers,
Canny


查看这些

.NET中的测试驱动开发[ ^ ]

< ^ ]

ASP.NET MVC项目中的测试驱动开发(TDD) [ ^ ]
Check these
Test-Driven Development in .NET[^]
Testing of ASP.NET Applications[^]
Test-driven development (TDD) in ASP.NET MVC projects[^]


这篇关于测试驱动开发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆