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
TempDir in a base class not initialized #1229
Labels
Comments
leonard84
added a commit
to leonard84/spock
that referenced
this issue
Nov 2, 2020
leonard84
added a commit
that referenced
this issue
Nov 2, 2020
leonard84
pushed a commit
that referenced
this issue
Sep 23, 2021
A variant of previously fixed: #1229
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue description
The
@TempDir
doesn't work in base class.How to reproduce
Given a
build.gradle
file:and a
src/test/groovy/BaseSpec.groovy
file:and a
src/test/groovy/FileSpec.groovy
file:when the test is executed
gradle test
then it fails
Versions
The text was updated successfully, but these errors were encountered: