/Kiwi-KIF

Allows to write KIF integration tests using Kiwi framework

Primary LanguageObjective-CMIT LicenseMIT

Kiwi-KIF

The repo is no longer updated (due lack of time) in favor of freshly created similar project (by IndieGoGo)

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.1'

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

pod 'Kiwi-KIF/XCTest', '~>1.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