Skip to content
This repository has been archived by the owner on May 11, 2018. It is now read-only.

Latest commit

 

History

History
45 lines (29 loc) · 951 Bytes

README.md

File metadata and controls

45 lines (29 loc) · 951 Bytes

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