摘要: Marks a test method. xUnit.net does not require an attribute for a test class; it looks for all test methods in all public (exported) classes in the a 阅读全文
posted @ 2016-07-05 15:08 帅姐 阅读(409) 评论(0) 推荐(0) 编辑
摘要: 一、xUnit.Net介绍 xUnit.net的创造者的创造者是Jim Newkirk和Brad Wilson从包括NUnit及其它单元测试框架的使用经验中总结出来的一个新框架,相比于NUnit,xUnit.net有如下特点: 为每个测试方法产生一个对象实例 取消了[SetUp]和[TearDown 阅读全文
posted @ 2016-07-05 15:00 帅姐 阅读(1231) 评论(0) 推荐(0) 编辑
摘要: 一、NUnit介绍 NUnit是一个专门针对于.NET来写的单元测试框架,它是xUnit体系中的一员,在xUnit体系中还有针对Java的JUnit和针对C++的CPPUnit,在开始的时候NUnit和xUnit体系中的大多数的做法一样,仅仅是将Smalltalk或者Java版本转换而来,但是在.N 阅读全文
posted @ 2016-07-05 14:43 帅姐 阅读(1830) 评论(0) 推荐(0) 编辑