-
Notifications
You must be signed in to change notification settings - Fork 140
Home
Sam Coward edited this page Mar 23, 2016
·
13 revisions
Cedar is a self-contained behavior driven development (BDD) framework for Objective-C and Swift. It provides improvements in clarity and better organizational facilities than the tools provided by XCTest/OCUnit. In environments where C++ is available, it also provides powerful built-in matchers, test doubles and fakes.
Objective-C:
describe(@"Cedar", ^{
it(@"is great for testing Objective-C code", ^{
yourTests should be_clearer();
});
});
Swift:
class CedarSpec: CDRSpec {
override func declareBehaviors() {
describe("Cedar") {
it("also works great with Swift") {
expect(yourTests).to(beClearer())
}
}
}
}
- Installation
- Getting Started
- Writing Specs
- Configuration
- Contributor Guide
- Troubleshooting
- Third Party Tools & Code
Discussion: Google Group
Group email: cedar-discuss@googlegroups.com
Report bugs at GitHub
Project Backlog: Cedar on Pivotal Tracker
Twitter: @cedarbdd