Skip to content
Simple BDD for iOS
Objective-C Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Classes Removes deprecated methods in NSObject+KiwiStubAdditions.h/m Jul 26, 2018
Kiwi.xcodeproj Bumps Kiwi deployment targets to the minimum allowed nowadays (iOS 8.… Jan 10, 2018
Supporting Files
Tests Refactors test to use numbers since for some odd reason, using an NSS… Jan 10, 2018
Xcode Templates Not converting test class to identifier as it changes + to _ Feb 17, 2014
.gitignore Update CI configuration for Xcode 7.3 May 21, 2016
.travis.yml Updates travis configuration use Xcode 9.2 Jan 9, 2018
CONTRIBUTING.md Reindent numbered lists in CONTRIBUTING.md Mar 9, 2014
Cartfile.private Test support for Nimble Aug 20, 2015
Cartfile.resolved
Kiwi-Logo.png
Kiwi.podspec
License.txt
Makefile
README.md Say the name Kiwi in the README heading, to associate it more closely… Aug 14, 2015
Release.txt
test_suite_configuration.rb

README.md

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

You can’t perform that action at this time.