Skip to content

Sliced tests doesn't reuse cached contexts when testing with Spock's spock.lang.* annotations. #8251

@erling

Description

@erling

Spock's spock.lang.* annotations to a specification makes each spec appear to be different:

@spock.lang.Ignore
static class FirstSpockAnnotatedTestClass {}

@spock.lang.Stepwise
static class SecondSpockAnnotatedTestClass {}

Only partially solved by issue 7524.

Added PR: https://github.com/spring-projects/spring-boot/pull/8252/files

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: supersededAn issue that has been superseded by another

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions