Hacker News new | past | comments | ask | show | jobs | submit login

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: