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
{{ message }}
Repository navigation
🐞: Spock fixture methods not added to Allure report correctly #967
2 tests in a single file, all fixture methods present:
Run tests ./gradlew clean test
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.
Hello! Is there any fix planned in near time? Let me propose changes:
we can leave setup/cleanup specs current behavior as is, because it is convenient to observe full report related to a test, including these spec fixtures;
for setup and cleanup - the issue is that we are creating interceptors for each of such fixtures, then the containers have same UUID for every test, thus they are started, closed and overridden every test and only the last ones remain; my suggestion is to generate new container UUID during each setup/cleanup fixture invocation.
Activity
AlenaKaraliova commentedon Mar 13, 2025
Hello! Is there any fix planned in near time? Let me propose changes:
improve spock block and fixture reporting (fixes allure-framework#965, …