Skip to content

qinwenshi/Kiwi

This branch is 153 commits behind kiwi-bdd/Kiwi:master.

Folders and files

NameName
Last commit message
Last commit date
Jul 21, 2014
Jul 27, 2014
Jun 22, 2014
Jul 7, 2014
Feb 17, 2014
Feb 12, 2014
May 20, 2014
Mar 9, 2014
Jul 27, 2014
Jun 13, 2010
Jul 7, 2014
May 15, 2014
Jun 23, 2013
Jul 7, 2014

Repository files navigation

Simple BDD for iOS

Build Status

Kiwi is a Behavior Driven Development library for iOS development. The goal is to provide a BDD library that is exquisitely simple to setup and use.

Why?

The idea behind Kiwi is to have tests that are more readable than what is possible with the bundled test framework.

Tests (or rather specs) are written in Objective-C and run within the comfort of Xcode to provide a test environment that is as unobtrusive and seamless as possible in terms of running tests and error reporting.

Specs look like this:

describe(@"Team", ^{
    context(@"when newly created", ^{
        it(@"should have a name", ^{
            id team = [Team team];
            [[team.name should] equal:@"Black Hawks"];
        });

        it(@"should have 11 players", ^{
            id team = [Team team];
            [[[team should] have:11] players];
        });
    });
});

Documentation

The Kiwi Wiki is the official documentation source.

Getting it

The best way to get Kiwi is by using CocoaPods. For all the installation details, check out the Wiki

Support

For all the questions / suggestions you have, that aren't bug reports please use our Google Group

Packages

No packages published