Test Driven Development && NUnit

::URL::http://nunit.org

Test Driver Development (TDD) is a popular word these day.
It's principal is "test first". Since is a method, it has rules.

In fact ,we already use this method but not so strict to obey the rules and didn't use some tools like NUnit..

For intance, I write a class for database access . once I add a function, I will make the test data and test it in the main method.  once it's finished ,the test part in main method is deleted. The disadvatage is that if you modify the function and unfortunately you delete the test  part in main function, you have to rewrite the test part.

However in TDD, test is always kept and use tools to run the test seperately.
even we write the test first.

I think it's a goold method for developer to  test and make better quality.

I will try to use this method and NUnit in future programming

posted on 2004-06-18 15:10  番茄鸡蛋面  阅读(769)  评论(0编辑  收藏  举报

导航