<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_AnyKoro_分类_Test Driven Development</title><id>http://feed.cnblogs.com/blog/u/53802/category/330476/rss</id><updated>2012-05-27T23:42:42Z</updated><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/JosephLiu/category/330476.html"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/53802/category/330476/rss"/><entry><id>http://www.cnblogs.com/JosephLiu/archive/2011/11/01/2231084.html</id><title type="text">Visual Studio2010中unittest的xml文件路径error问题</title><summary type="text">【问题】在单元测试中需要访问自定义的xml文件，或config文件时，会遇到vs说找不到相应文件的情况。【原因】在visual studio做单元测试时，相关的xml结果会默存放在一个output文件夹中，但是由于单元测试的默认机制，每次都会在TestResult中根据当前时间新建一个文件夹用以存放会用到的config文件和dll文件。这个时候就会出问题了。TestResult的OUTPUT目录是在testsetting里面设置的。而config文件的copy to Output Directory(选中config文件，选择properties)的属性是针对Build而言的，这样就会导致两个</summary><published>2011-11-01T02:05:00Z</published><updated>2011-11-01T02:05:00Z</updated><author><name>AnyKoro</name><uri>http://www.cnblogs.com/JosephLiu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/JosephLiu/archive/2011/11/01/2231084.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/JosephLiu/archive/2011/11/01/2231084.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/JosephLiu/archive/2011/10/26/2225122.html</id><title type="text">【转】Test Driven Development (TDD)介绍</title><summary type="text">测试驱动开发是一种先开发测试的先进技术，即你在编写足够的产品代码用于测试和重构之前就编写测试。测试驱动开发的初衷是什么呢？一种观点是TDD是一种规范而不是校验。就是说它是在你编码之前就惯穿设计的一种思考。另一个观点是TDD是一种编码技术，就像Ron Jeffries喜欢说的那样TDD可用来编写干净的可工作的代码。尽管我把决定权留给读者，但我想以上两点各有其道理。目录一、 什么是TDD？... 1二、 TDD与传统测试... 3三、 TDD与文档... 4四、 测试驱动数据库开发... 4五、 TDD与敏捷模型驱动开发（AMDD）... 4六、 为什么使用TDD？... 5七、 小结... 5八</summary><published>2011-10-26T05:37:00Z</published><updated>2011-10-26T05:37:00Z</updated><author><name>AnyKoro</name><uri>http://www.cnblogs.com/JosephLiu/</uri></author><link rel="alternate" href="http://www.cnblogs.com/JosephLiu/archive/2011/10/26/2225122.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/JosephLiu/archive/2011/10/26/2225122.html"/><content type="html"/></entry></feed>
