-
Notifications
You must be signed in to change notification settings - Fork 466
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
Add custom class support to @TempDir #1430
Add custom class support to @TempDir #1430
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1430 +/- ##
=========================================
Coverage 79.73% 79.73%
Complexity 4025 4025
=========================================
Files 411 411
Lines 12715 12715
Branches 1649 1649
=========================================
Hits 10138 10138
Misses 1982 1982
Partials 595 595 Continue to review full report at Codecov.
|
098b145
to
c109e82
Compare
spock-specs/src/test/groovy/org/spockframework/docs/utilities/FsFixtureSpec.groovy
Outdated
Show resolved
Hide resolved
cfc3fd2
to
b4d040b
Compare
With this you can use a custom class as target for the @tempdir extension, as long as it has a public constructor accepting either Path or File as single argument.
Co-authored-by: Marc Philipp <marc@gradle.com>
b4d040b
to
4f2127d
Compare
No description provided.