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

If one scenario fails, all with the same background are also marked as failed #103

Closed
aimeerivers opened this issue May 25, 2017 · 1 comment

Comments

@aimeerivers
Copy link

See this:

https://hive.cloud.bbc.co.uk/jobs/720890

12 scenarios (1 failed, 11 passed)

However, 3 are marked red in the res results.

These 3 share the same Background, but only one of them failed.

As Asim said, "It should be if background fails then all fail and not if a step fail then every scenario with that background fail"

@Asimk21
Copy link
Contributor

Asimk21 commented Jun 23, 2017

@sermoa Can you please check this spec_formatter branch in which I have fixed above issue.

Also fixes an issue where res was reporting incorrectly. Issue was when a scenario fails rest all scenarios within same feature file reported as fail.

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