Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sliced tests doesn't reuse cached contexts when testing with Spock #7524

Closed
wilkinsona opened this issue Nov 29, 2016 · 0 comments
Closed

Sliced tests doesn't reuse cached contexts when testing with Spock #7524

wilkinsona opened this issue Nov 29, 2016 · 0 comments
Labels
type: bug A general bug
Milestone

Comments

@wilkinsona
Copy link
Member

Spock adds an annotation to a specification that makes each spec appear to be different:

@org.spockframework.runtime.model.SpecMetadata(filename=FilmController2Spec.groovy, line=18)
@org.spockframework.runtime.model.SpecMetadata(filename=FilmControllerSpec.groovy, line=18)

Similar to what we did with Kotlin (#7101), we need to ignore Spock's annotations in ContextCustomizerKey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant