Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

step after a failing one should be pending #86

Closed
poum opened this issue Apr 16, 2014 · 3 comments
Closed

step after a failing one should be pending #86

poum opened this issue Apr 16, 2014 · 3 comments

Comments

@poum
Copy link
Contributor

poum commented Apr 16, 2014

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 ?

@cressie176
Copy link
Member

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 :(

@poum
Copy link
Contributor Author

poum commented Apr 16, 2014

I'm just commenting your advice request hopping a reaction ... I agree that feature request #32 would be great too.
Thanks

@cressie176
Copy link
Member

Closing as duplicate of #32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants