Re:Spectacular: a BDD framework for CoffeeScript and JavaScr...
by abe33 on Wednesday July 17, 2013 @11:05AM
(#6058061)
I didn't followed that approach, matchers (like in RSpec) returns a boolean (or a promise of a boolean value). Errors raised in a matcher will be catched and, as in RSpec, will flag the test as errored (and not as failed).
I've always found it more useful to detect when something went wrong in your test setup than failures.
I'll probably give it a shot on my next project. I'm interested in finding out if it went the route of throwing exceptions for error reporting like mocha, or something else.