Kiwi BDD for iOS

repository·master·Indexed 26 days ago

https://github.com/kiwi-bdd/kiwi

A Behavior Driven Development (BDD) library for iOS development that allows developers to write readable tests in Objective-C using a describe/context/it pattern. Kiwi specs run within Xcode and can be installed via CocoaPods or Carthage.

Tokens
296
Snippets
3
Records
4
Agent score
38%

What's inside Kiwi

  1. Overview of Kiwi for iOS BDD

    master
    Kiwi is a Behavior Driven Development (BDD) library designed for iOS development. It allows developers to write tests (specs) in Objective-C that are more readable than standard XCTest suites. Kiwi specs run within Xcode, providing a seamless environment for running tests and reporting errors.
  2. Write BDD specs with Kiwi

    master

    Kiwi uses a describe/context/it pattern to structure tests. Expectations are written using a readable syntax like [[object should] equal:value] or custom matchers like [[[object should] have:count] property].

    ```objective-c
    describe(@"Team", ^{
        context(@"when newly created", ^{
            it(@"has a name", ^{
                id team = [Team team];
                [[team.name should] equal:@