You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Playing more deeply with (great) yadda, I figured out that after one of my step failed,
the next steps where marked passed by mocha.
IMO, they should have been marked as pending, at least if it was "given" or "when" steps.
It could make sense trying executing a "then" step after another "then" has failed (but not always).
It's the same for an undefined step....
Do you agree ?
The text was updated successfully, but these errors were encountered:
Yes I do agree, however because with mocha the tests are queued in advance, it's not straightforward to change some of them to pending. I created this issue on the mocha project about 3 months ago asking for advice, but so far it's been ignored :(
Playing more deeply with (great) yadda, I figured out that after one of my step failed,
the next steps where marked passed by mocha.
IMO, they should have been marked as pending, at least if it was "given" or "when" steps.
It could make sense trying executing a "then" step after another "then" has failed (but not always).
It's the same for an undefined step....
Do you agree ?
The text was updated successfully, but these errors were encountered: