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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悶: Spock fixture methods not added to Allure report correctly #967

Open
1 task done
karltiirik opened this issue Oct 13, 2023 · 0 comments
Open
1 task done
Labels
triage type:bug Something isn't working

Comments

@karltiirik
Copy link

What happened?

  1. Project https://github.com/karltiirik/spock-restassured-allure/releases/tag/fixture-methods-issue
  2. 2 tests in a single file, all fixture methods present:
    Kuvat玫mmis 2023-10-13 113217
  3. Run tests ./gradlew clean test
  4. Generate report ./gradlew allureServe
    Expected: both tests have setup & cleanup, 1 test has setup spec & cleanup spec (the one that ran first).
    Actual: both tests have setup spec & cleanup spec, 1 test has setup & cleanup

So the logic in the report is the opposite of the Spock framework logic.

Kuvat玫mmis 2023-10-13 113443
Kuvat玫mmis 2023-10-13 113533

What Allure Integration are you using?

allure-spock2

What version of Allure Integration you are using?

2.23.0

What version of Allure Report you are using?

2.23.0

Code of Conduct

  • I agree to follow this project's Code of Conduct
@karltiirik karltiirik added triage type:bug Something isn't working labels Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant