Objective-C单元测试框架Cedar.zip

时间:2022-08-07 00:33:40
【文件属性】:

文件名称:Objective-C单元测试框架Cedar.zip

文件大小:428KB

文件格式:ZIP

更新时间:2022-08-07 00:33:40

开源项目

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;         });     }); }); 标签:Cedar 分享 window._bd_share_config = { "common": { "bdSnsKey": {}, "bdText": "", "bdMini": "2", "bdMiniList": [], "bdPic": "", "bdStyle": "1", "bdSize": "24" }, "share": {} }; with (document)0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=' ~(-new Date() / 36e5)];\r\n \r\n \r\n \r\n \r\n \u8f6f\u4ef6\u9996\u9875\r\n \u8f6f\u4ef6\u4e0b\u8f7d\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\nwindow.changyan.api.config({\r\nappid: 'cysXjLKDf', conf: 'prod_33c27aefa42004c9b2c12a759c851039' });


网友评论