Expecta-Collections:Expecta中的集合匹配项

时间:2021-05-12 21:42:19
【文件属性】:
文件名称:Expecta-Collections:Expecta中的集合匹配项
文件大小:15KB
文件格式:ZIP
更新时间:2021-05-12 21:42:19
Ruby 期望+收藏 它能做什么 提供一个使用NSArray的新匹配器equalInAnyOrder ,它将检查是否相等而不检查顺序。 安装 可通过获得Expecta + Collections,要安装它,只需添加到Podfile中: pod "Expecta+Collections" 您可能希望在测试子集中使用它,通常如下所示: target 'MyApp Tests', :exclusive => true do pod 'Specta' pod 'Expecta' pod 'Expecta+Collections', '~> 1.0' end 用法 此匹配器取决于Specta和Expecta,并在您的Spec文件中要求以下#import行: # import " Specta.h " # define EXP_SHORTHAND # import " Expect
【文件预览】:
Expecta-Collections-master
----.gitignore(251B)
----Expecta+Collections.podspec(800B)
----.travis.yml(271B)
----LICENSE(1KB)
----CHANGELOG.md(152B)
----Classes()
--------EXPMatchers+equalInAnyOrder.h(75B)
--------EXPMatchers+equalInAnyOrder.m(1KB)
----README.md(1KB)
----UnitTests()
--------EXPExpect+Test.h(166B)
--------FakeTestCase.m(397B)
--------EXPExpect+Test.m(223B)
--------UnitTests.m(2KB)
--------FakeTestCase.h(326B)
--------UnitTests-Prefix.pch(210B)
--------en.lproj()
--------UnitTests-Info.plist(694B)
----Rakefile(4KB)
----Podfile(82B)
----UnitTests.xcodeproj()
--------xcshareddata()
--------project.xcworkspace()
--------project.pbxproj(14KB)

网友评论