Cedar-BDDObjective-C单元测试框架
Cedar 是 Objective-C 上 BDD 风格的单元测试框架。
describe(@"Example specs on NSString", ^{ it(@"lowercaseString returns a new string with everything in lower case", ^{ [@"FOOBar" lowercaseString] should equal(@"foobar"); }); it(@"length returns the number of characters in the string", ^{ [@"internationalization" length] should equal(20); }); describe(@"isEqualToString:", ^{ it(@"should return true if the strings are the same", ^{ [@"someString" isEqualToString:@"someString"] should be_truthy; }); it(@"should return false if the strings are not the same", ^{ [@"someString" isEqualToString:@"anotherString"] should be_falsy; }); }); });
评论
NodeUnitNode.js 单元测试框架
NodeUnit是Node.js的单元测试框架,基于assert模块为node.js和浏览器提供了简单的异步单元测试。特征使用简单只需从模块中导出测试与node.js一起使用并在浏览器中帮助您在测试异
NodeUnitNode.js 单元测试框架
0
wruJS 单元测试框架
wru是一个JavaScript的单元测试框架,与 Web环境,node.js,Rhino 和现在的 PhantomJS 基本兼容。特征可在客户端和服务器环境中运行,与html文件,node.js,R
wruJS 单元测试框架
0
PyUnitPython 单元测试框架
PyUnit是Python版JUnit,一款Python单元测试框架。PyUnit可以在Python1.5.2及更高版本上运行。作者已经在Linux(Redhat6.0和6.1以及DebianPota
PyUnitPython 单元测试框架
0