Latest 3.0.0
Homepage https://github.com/kiwi-bdd/Kiwi
License MIT
Platforms ios 8.0, osx 10.8, requires ARC
Frameworks XCTest
Authors , , , , , ,

Kiwi Logo

Kiwi: 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(@"has a name", ^{
            id team = [Team team];
            [[team.name should] equal:@"Black Hawks"];
        });

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

Documentation

The Kiwi Wiki is the official documentation source.

Getting it

To install via CocoaPods, add this to your Podfile:

pod "Kiwi"

Or via Carthage, add this to Cartfile.private:

github "kiwi-bdd/Kiwi"

Support

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

Latest podspec

{
    "name": "Kiwi",
    "version": "3.0.0",
    "summary": "A Behavior Driven Development library for iOS and OS X.",
    "homepage": "https://github.com/kiwi-bdd/Kiwi",
    "source": {
        "git": "https://github.com/kiwi-bdd/Kiwi.git",
        "tag": "v3.0.0"
    },
    "license": {
        "type": "MIT",
        "file": "License.txt"
    },
    "authors": {
        "Allen Ding": "[email protected]",
        "Luke Redpath": "[email protected]",
        "Marin Usalj": "[email protected]",
        "Stepan Hruda": "[email protected]",
        "Brian Gesiak": "[email protected]",
        "Adam Sharp": "[email protected]",
        "Eduardo Caselles": "[email protected]"
    },
    "platforms": {
        "ios": "8.0",
        "osx": "10.8"
    },
    "frameworks": "XCTest",
    "source_files": "Classes/**/*.{h,m}",
    "requires_arc": true,
    "prefix_header_contents": "#import "
}

Pin It on Pinterest

Share This