junit5 icon indicating copy to clipboard operation
junit5 copied to clipboard

Fix display name and improve assertions for `@TempDir` test case

Open scordio opened this issue 3 years ago • 0 comments

I guess this:

https://github.com/junit-team/junit5/blob/7416e56237d3eefc890d3b36164a1b4a22fd5941/junit-jupiter-engine/src/test/java/org/junit/jupiter/engine/extension/TempDirectoryPerDeclarationTests.java#L412-L419

was originally inspired by:

https://github.com/junit-team/junit5/blob/7416e56237d3eefc890d3b36164a1b4a22fd5941/junit-jupiter-engine/src/test/java/org/junit/jupiter/engine/extension/TempDirectoryPerContextTests.java#L786-L797

but the former is not really verifying what the display name says.

This is my attempt to fix it.

scordio avatar Jul 05 '22 22:07 scordio