petejkim/expecta — Issue #13: Alternative Naming
Author: TrahDivad
Created: 2012-03-07 10:23:44+00:00
State: open

I really love Expecta. But I'd like to offer what I think is a more natural naming scheme. Do you like it?

```c
expect(object).beTruthy();
expect(object).to.beTruthy(); // to = no-op
expect(object).toNot.beTruthy(); // noNot = Not
expect(object).will.beTruthy(); // will = isGoing
expect(object).willNot.beTruthy(); // willNot = isNotGoing

// OR ALTERNATIVE CEDAR STYLE

expect(object).be_truthy();
expect(object).to.be_truthy();
expect(object).to_not.be_truthy();
expect(object).will.be_truthy();
expect(object).will_not.be_truthy();
```