Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
abe33
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
abe33
13y ago
Sure, I'll fix that in the next release :)
2.
▲
by
abe33
13y ago
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 a
3.
▲
by
abe33
13y ago
I can't completely agree with both of you regarding assertions. There's always cases where a test needs to be done on several properties of an object at once (validation of a rails model attribute, for instance, when you want to t
4.
▲
by
abe33
13y ago
I'm not really familiar with mocha but you can find a quick comparison with jasmine in my answer here : https://news.ycombinator.com/item?id=6057056
5.
▲
by
abe33
13y ago
Thanks for the report, I'll look at this as soon I get back home :)
6.
▲
by
abe33
13y ago
I must say that I'm also a user and lover of jasmine, all the previous lib I did was tested using Jasmine. However, I was missing some feature from RSpec (Jasmine, like Mocha, takes a big part of their syntax from RSpec), such implicit