<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_一个程序员的自省_分类_23-单元测试</title><id>http://feed.cnblogs.com/blog/u/15645/category/127899/rss</id><updated>2012-05-29T01:14:09Z</updated><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/anderslly/category/127899.html"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/15645/category/127899/rss"/><entry><id>http://www.cnblogs.com/anderslly/archive/2009/07/26/better-unit-tests.html</id><title type="text">更好的单元测试准则（转载）</title><summary type="text">一篇不错的文章，除了有不少好的单元测试准则外，还提供了一些额外的资料。</summary><published>2009-07-26T14:43:00Z</published><updated>2009-07-26T14:43:00Z</updated><author><name>Anders Cui</name><uri>http://www.cnblogs.com/anderslly/</uri></author><link rel="alternate" href="http://www.cnblogs.com/anderslly/archive/2009/07/26/better-unit-tests.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/anderslly/archive/2009/07/26/better-unit-tests.html"/><content type="text">一篇不错的文章，除了有不少好的单元测试准则外，还提供了一些额外的资料。</content></entry><entry><id>http://www.cnblogs.com/anderslly/archive/2008/11/18/fsharp-adventures-unit-test.html</id><title type="text">F#探险之旅（七）：在F#中进行单元测试</title><summary type="text">本文介绍了在F#中如何使用NUnit和FsUnit进行单元测试。可以看到两者都很简单，前者简单是因为能很好地延续在C#中的方式，迁移过来不要费多大力气；后者简单是因为它接近自然语言，看起来很亲切，比如我们可以写出fruits |&gt; should contain "apple"这样的测试代码。FsUnit值得关注，除了单元测试本身，我们还可以通过它来了解Language-Oriented Programming的相关知识。</summary><published>2008-11-18T05:42:00Z</published><updated>2008-11-18T05:42:00Z</updated><author><name>Anders Cui</name><uri>http://www.cnblogs.com/anderslly/</uri></author><link rel="alternate" href="http://www.cnblogs.com/anderslly/archive/2008/11/18/fsharp-adventures-unit-test.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/anderslly/archive/2008/11/18/fsharp-adventures-unit-test.html"/><content type="text">本文介绍了在F#中如何使用NUnit和FsUnit进行单元测试。可以看到两者都很简单，前者简单是因为能很好地延续在C#中的方式，迁移过来不要费多大力气；后者简单是因为它接近自然语言，看起来很亲切，比如我们可以写出fruits |&gt; should contain "apple"这样的测试代码。FsUnit值得关注，除了单元测试本身，我们还可以通过它来了解Language-Oriented Programming的相关知识。</content></entry><entry><id>http://www.cnblogs.com/anderslly/archive/2008/06/12/1218650.html</id><title type="text">何时应该使用Mock对象？</title><summary type="text"/><published>2008-06-12T13:39:00Z</published><updated>2008-06-12T13:39:00Z</updated><author><name>Anders Cui</name><uri>http://www.cnblogs.com/anderslly/</uri></author><link rel="alternate" href="http://www.cnblogs.com/anderslly/archive/2008/06/12/1218650.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/anderslly/archive/2008/06/12/1218650.html"/><content type="text"/></entry><entry><id>http://www.cnblogs.com/anderslly/archive/2008/04/14/your-first-unit-test.html</id><title type="text">单元测试实战（二）：初体验</title><summary type="text">本文通过一个简单的例子描述了单元测试的过程，从此我们也可以编写测试用例了，对其有了初步的认识。其中的过程有些繁琐，也许你会问，这么一个简单的方法值得花费这么大的力气吗？答案是肯定的，单元测试保证了程序在当前的质量，而在维护时会体现出更大的价值。</summary><published>2008-04-14T12:14:00Z</published><updated>2008-04-14T12:14:00Z</updated><author><name>Anders Cui</name><uri>http://www.cnblogs.com/anderslly/</uri></author><link rel="alternate" href="http://www.cnblogs.com/anderslly/archive/2008/04/14/your-first-unit-test.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/anderslly/archive/2008/04/14/your-first-unit-test.html"/><content type="text">本文通过一个简单的例子描述了单元测试的过程，从此我们也可以编写测试用例了，对其有了初步的认识。其中的过程有些繁琐，也许你会问，这么一个简单的方法值得花费这么大的力气吗？答案是肯定的，单元测试保证了程序在当前的质量，而在维护时会体现出更大的价值。</content></entry><entry><id>http://www.cnblogs.com/anderslly/archive/2008/03/30/unit-testing-aspnet-pages-using-watin.html</id><title type="text">使用WatiN对ASP.NET页面进行单元测试</title><summary type="text">单元测试是应用程序设计的一个重要部分，它可应用于程序的多个层次。本文将主要关注用户界面层的单元测试。我们将使用WatiN 测试ASP.NET应用程序。</summary><published>2008-03-30T06:47:00Z</published><updated>2008-03-30T06:47:00Z</updated><author><name>Anders Cui</name><uri>http://www.cnblogs.com/anderslly/</uri></author><link rel="alternate" href="http://www.cnblogs.com/anderslly/archive/2008/03/30/unit-testing-aspnet-pages-using-watin.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/anderslly/archive/2008/03/30/unit-testing-aspnet-pages-using-watin.html"/><content type="text">单元测试是应用程序设计的一个重要部分，它可应用于程序的多个层次。本文将主要关注用户界面层的单元测试。我们将使用WatiN 测试ASP.NET应用程序。</content></entry></feed>
