allure-java icon indicating copy to clipboard operation
allure-java copied to clipboard

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

Open AlenaKaraliova opened this issue 9 months ago • 0 comments

What happened?

Hello! In case if any exception is thrown in a setupSpec() we do not see any test report. Example:

    def setupSpec() {
        setup: 'Test setup spec'
        throw new RuntimeException('setup spec: exception')
    }

What Allure Integration are you using?

allure-spock2

What version of Allure Integration you are using?

2.29.1

What version of Allure Report you are using?

2.29.1

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

AlenaKaraliova avatar Mar 13 '25 15:03 AlenaKaraliova