Kiwi

3.0.0

Simple BDD for iOS
kiwi-bdd/Kiwi

What's New

The rule of three

2018-01-12T14:50:36Z

Or "every set of three is complete" (read more)

  • [added] Upgrade Kiwi to Xcode 9.2 🎉 (Huge thanks to @SergeyKuryanov 🙇)
  • [changed] Rename any helper to kw_any. This is a breaking change and you will have to update your tests accordingly.
  • [fixed] Release retained resources held by the verifiers (#667)
  • [fixed] Avoid initializing classes when registering matchers (#649)
  • [added] Support assertions from XCTest, Expecta and Nimble (#671, #636)
  • [changed] Rename -[KWNotificationMatcher bePostedWithObject:andUserInfo:] to -bePostedWithObject:userInfo: (#663). This is a breaking change and you will have to update your tests accordingly.
  • [fixed] Other minor fixes and improvements (#647, #610, #661, #663, #628)

Thanks @glentregoning, @samkrishna, @mhallendal, @ericbuehl, @yas375, @aspcartman, @tonyarnold, @sharplet and @orta 👏

Install via CocoaPods or Carthage.

💝

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

Description

  • Swift Tools
View More Packages from this Author

Dependencies

  • None
Last updated: Wed May 01 2024 10:14:32 GMT-0900 (Hawaii-Aleutian Daylight Time)