Skip to content

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

@AlenaKaraliova

Description

@AlenaKaraliova

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions