Skip to content

Improve Spock block and fixture reporting#1339

Merged
baev merged 2 commits into
mainfrom
fix-spock
Jul 23, 2026
Merged

Improve Spock block and fixture reporting#1339
baev merged 2 commits into
mainfrom
fix-spock

Conversation

@baev

@baev baev commented Jul 22, 2026

Copy link
Copy Markdown
Member

Context

Spock 2.4 block reporting now follows actual feature execution. Data variables in descriptions are resolved—for example, user #name exists contains the iteration value—manual steps are grouped under their blocks, and failed blocks retain the correct status when cleanup continues. Compilation no longer depends on the order of the Spock and Allure dependencies.

Fixture reporting now matches the Spock lifecycle: every test receives its own setup and cleanup fixtures, while the one-time setupSpec and cleanupSpec fixtures are shown only once.

fixes #965
fixes #967

Checklist

@baev baev added the pr:improvement Change that improves some user experience but can't be considered as a new feature label Jul 22, 2026
@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown

Allure Report Summary

Name Duration Stats New Flaky Retry Report
Allure Java – Pull request #1339 27m 14s Passed tests 2031   Skipped tests 2 0 0 0 View
Allure Java GitHub actions run (2026-07-22T17:11:05.456Z) 27m 14s Passed tests 2031   Skipped tests 2 0 0 0 View

@baev
baev merged commit 368e014 into main Jul 23, 2026
10 checks passed
@baev
baev deleted the fix-spock branch July 23, 2026 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:improvement Change that improves some user experience but can't be considered as a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐞: Spock fixture methods not added to Allure report correctly 🐞: Variables in Spock BDD blocks not substituted

2 participants