Skip to content

Report skipped Spock features when setupSpec fails - #1347

Merged
baev merged 1 commit into
mainfrom
fix-spock-setup-failures
Jul 23, 2026
Merged

baev merged 1 commit into
mainfrom
fix-spock-setup-failures

Conversation

@baev

@baev baev commented Jul 23, 2026

Copy link
Copy Markdown
Member

Context

When a Spock setupSpec() fixture fails, Allure now records the failure as a broken configuration and reports every affected feature as skipped instead of leaving the report empty. The skipped results retain the failure reason and remain linked to the specification.

Data-driven features are represented once when their iterations cannot be created, while Allure test plan filtering ensures excluded or unselected features are not reported.

fixes #1151

Checklist

@baev baev added the pr:bug Something isn't working label Jul 23, 2026
@github-actions

Copy link
Copy Markdown

Allure Report Summary

Name Duration Stats New Flaky Retry Report
Allure Java – Pull request #1347 26m 5s Passed tests 2041   Skipped tests 2 10 0 0 View
Allure Java GitHub actions run (2026-07-23T16:15:53.678Z) 26m 5s Passed tests 2041   Skipped tests 2 10 0 0 View

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

Labels

pr:bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐞: Spock integration: Test is not included in report when setupSpec fails

2 participants