You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At time of writing, we have a @Dir annotation (might be renamed to @TempDir soon) that allows temporary directories to be created in tests with minimal code.
We should consider having an equivalent for "shared" temporary directories. It should probably be named @SharedTempDir, but this is open to discussion.
Like #648, this would require a change in how ResourceExtension works, to allow annotations with an arguments field and which are indirectly/meta-annotated with @Shared(factory = TemporaryDirectory.class) to have their arguments read by the extension.
At time of writing, we have a
@Dir
annotation (might be renamed to@TempDir
soon) that allows temporary directories to be created in tests with minimal code.We should consider having an equivalent for "shared" temporary directories. It should probably be named
@SharedTempDir
, but this is open to discussion.Like #648, this would require a change in how
ResourceExtension
works, to allow annotations with anarguments
field and which are indirectly/meta-annotated with@Shared(factory = TemporaryDirectory.class)
to have their arguments read by the extension.This issue is a follow-up to #348 | #491.
The text was updated successfully, but these errors were encountered: