Swift?????Nimble????е??????
????? ???????[ 2015/7/15 10:12:54 ] ??????????????????
??????????????????? Command + U ???е????????????????????
????????θ??????????????? Nimble ????????(??????????????£?????????????????????)??
??????????????????????????′??????????????
????????????? Nimble ????????????????????? Nimble ??????????????????Щ???????????????????
???????? Swift?? Nimble ????????????????????????????????ж???????????????д????????
????expect(i) == 0
?????????????????????б???????
????expect(i).to(equal(0))
????expect(i) == 0
????expect(i).to(beGreaterThan(-2))
????expect(i) > -2
????expect(i).to(beGreaterThanOrEqualTo(0))
????expect(i) >= 0
????expect(i).to(beLessThan(2))
????expect(i) < 2
????expect(i).to(beLessThanOrEqualTo(1))
????expect(i) <= 1
??????????????????????????? Swift ?ж??????????????????????
???????????????????????в????
????var collection:Array<String> = []
????dispatch_async(dispatch_get_main_queue()) {
????collection.append("first")
????collection.append("second")
????}
????expect(collection).toEventually(contain("first"??"second"))
????????????? waitUntil ?????????????????????Щ???????????
????waitUntil { done in
????NSThread.sleepForTimeInterval(0.5)
????done()
????}
???????????? Nimble ???ж????????????????????:
????expect(actual).to(beIdenticalTo(expected))
????expect(actual) === expected
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11