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

Report showing green for broken fixtures. #205

Closed
1 task done
Sup3rGeo opened this issue Feb 4, 2018 · 0 comments
Closed
1 task done

Report showing green for broken fixtures. #205

Sup3rGeo opened this issue Feb 4, 2018 · 0 comments

Comments

@Sup3rGeo
Copy link
Contributor

Sup3rGeo commented Feb 4, 2018

I'm submitting a ...

  • bug report

What is the current behavior?

Exception in a fixture will break the test as expected but step corresponding to that fixture will be shown in green (little arrow to colapse or circle).

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

Could be just an exception inside feature:

@pytest.fixture
def fixture1():
    raise Exception

What is the expected behavior?

This symbol (arrow or circle) corresponding to the fixture should be also yellow

What is the motivation / use case for changing the behavior?

This is needed because we need to have an indication of what fixture has broken the test.
See screenshot below - all steps are shown in green although test was broken.

Please tell us about your environment:

  • Allure version: 2.1.0
  • Test framework: pytest@3.0
  • Allure adaptor: allure-pytest@2.0.0b1

Other information

image

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

1 participant