123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- //
- // ZZUIKitTests.m
- // ZZUIKitTests
- //
- // Created by bymiracles@163.com on 01/04/2021.
- // Copyright (c) 2021 bymiracles@163.com. All rights reserved.
- //
- // https://github.com/kiwi-bdd/Kiwi
- SPEC_BEGIN(InitialTests)
- describe(@"My initial tests", ^{
- context(@"will fail", ^{
- it(@"can do maths", ^{
- [[@1 should] equal:@2];
- });
- it(@"can read", ^{
- [[@"number" should] equal:@"string"];
- });
-
- it(@"will wait and fail", ^{
- NSObject *object = [[NSObject alloc] init];
- [[expectFutureValue(object) shouldEventually] receive:@selector(autoContentAccessingProxy)];
- });
- });
- context(@"will pass", ^{
-
- it(@"can do maths", ^{
- [[@1 should] beLessThan:@23];
- });
-
- it(@"can read", ^{
- [[@"team" shouldNot] containString:@"I"];
- });
- });
-
- });
- SPEC_END
|