Skip to content
Sam Coward edited this page Mar 23, 2016 · 13 revisions

Cedar, BDD style testing for Objective-C

Build Status

Cedar is a self-contained behavior driven development (BDD) framework for Objective-C. It provides improvements in clarity and better organizational facilities than the tools provided by OCUnit. It comes with built-in matchers, test doubles and fakes.

describe(@"Cedar", ^{
	it(@"is great for testing Objective-C code", ^{
		yourTests should be_clearer();
	});
});
class CedarSpec: CDRSpec {
    override func declareBehaviors() {
        describe("Cedar") {
            it("also works great in Swift with a matcher framework like Nimble") {
                expect(CedarSpec.description()).to(equal("your favorite Swift BDD tool"))
            }
        }
    }
}

What's here:

Support

Discussion: Google Group
Group email: [email protected]
Report bugs at GitHub
Project Backlog: Cedar on Pivotal Tracker
Twitter: @cedarbdd


Clone this wiki locally