@brunofuster

www.wesaveapp.com

Kiwi: Simple BDD for iOS

leave a comment »

Github

https://github.com/allending/Kiwi

Docs

https://github.com/allending/Kiwi/wiki

Screencast

http://nsscreencast.com/episodes/4-automated-testing-with-kiwi/play

Code sample

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];
        });
    });
});
Advertisements

Written by brunofuster

February 28, 2012 at 5:27 pm

Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: