Kiwi-KIF 1.1.0

Kiwi-KIF 1.1.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2015

Maintained by Denis Lebedev.



Kiwi-KIF 1.1.0

  • By
  • Denis Lebedev

This little helper allows to write KIF integration tests using Kiwi framework. Fully inspired by this KIF issue. Thanks to @bnickel for this pretty solution.

Installation

pod 'Kiwi-KIF', '~>1.0.1'

SenTestingKit used as default Kiwi-KIF testing framework. Definition for XCTest installation will looks as following:

pod 'Kiwi-KIF/XCTest', '~>1.0.1'

Usage

#import <Kiwi+KIF.h>

KIF_SPEC_BEGIN(AwesomeAppSpec)

    describe(@"Awesome app", ^{

        it(@"should do some party", ^{
            [[tester usingTimeout:5] waitForViewWithAccessibilityLabel:@"party"];
            [tester tapViewWithAccessibilityLabel:@"drinks"];
        });

    });

KIF_SPEC_END