cedar 0,3 travis-ci CocoaPods ruby

BDD-style testing using Objective-C


Build Status Carthage compatible

Cedar is a BDD-style Objective-C testing framework with an expressive matcher DSL and convenient test doubles.

describe(@"Example specs on NSString", ^{
    it(@"lowercaseString returns a new string with everything in lower case", ^{
        [@"FOOBar" lowercaseString] should equal(@"foobar");

    it(@"length returns the number of characters in the string", ^{
        [@"internationalization" length] should equal(20);

    describe(@"isEqualToString:", ^{
        it(@"should return true if the strings are the same", ^{
            [@"someString" isEqualToString:@"someString"] should be_truthy;

        it(@"should return false if the strings are not the same", ^{
            [@"someString" isEqualToString:@"anotherString"] should be_falsy;

Quick start

  • Add Cedar to your project via CocoaPods (pod 'Cedar'), Carthage (github "pivotal/cedar"), or another method

  • Install the Cedar Xcode file templates using the Alcatraz package manager or by running this command in a terminal: $ curl -L https://raw.github.com/pivotal/cedar/master/install.sh | bash

  • Or if you want to install from HEAD. Run:

    $ bash <(echo "set -- --head; $(curl -L https://raw.github.com/pivotal/cedar/master/install.sh)")
  • Restart Xcode

  • Add new spec files to your project’s Test Bundle using the Xcode templates

  • Start writing specs!


Documentation can be found on the Cedar Wiki.

Support and feedback


Please read the Contributor Guide on the wiki.


Copyright © 2010-2016 Pivotal Labs. This software is licensed under the MIT License. Mixpanel

Related Repositories



BDD-style testing using Objective-C ...



Heroku's Ruby Buildpack for Cedar ...



Heroku Cedar-ish Base Image for Docker ...



Use Faye on Heroku Cedar stack with RedisToGo ...



Heroku buildpack for ImageMagick 6.8 on Cedar 14 ...

Top Contributors

idoru jeffh akitchen tjarratt cppforlife briancroom PaulTaykalo AlexDenisov cbguder pivotalworkstation pivotalcommon Jdavid1001 wileykestner nerdyc i-taptera onsi ArtFeel xoebus andymoe mountainstyle burtlo younata joemasilotti mjstallard boundsj codeman9 nemesis Gerg jeffremer carsonmcdonald


-   v1.0 zip tar
-   v0.13.1 zip tar
-   v0.13.0 zip tar
-   v0.12.0 zip tar
-   v0.11.3 zip tar
-   v0.11.2 zip tar
-   v0.11.1 zip tar
-   v0.11.0 zip tar
-   v0.10.0 zip tar
-   v0.9.8 zip tar
-   v0.9.7 zip tar
-   v0.9.6 zip tar
-   v0.9.5 zip tar
-   v0.9.4 zip tar
-   v0.9.3 zip tar
-   v0.9.2 zip tar
-   0.9.1 zip tar
-   0.9.0 zip tar
-   0.8.1 zip tar
-   0.8.0 zip tar