Add lifecycle module: @BeforeAll/@AfterAll demos on JUnit 6.1.3
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01KqJyCidz3ZgRyHABv2GVJh
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
Outer @BeforeAll
|
||||
outer test
|
||||
Inner static @BeforeAll
|
||||
inner test
|
||||
Inner static @AfterAll
|
||||
Outer @AfterAll
|
||||
-- results --
|
||||
SUCCESSFUL outerTest()
|
||||
SUCCESSFUL innerTest()
|
||||
SUCCESSFUL Inner
|
||||
SUCCESSFUL Fixtures$OuterWithNested
|
||||
Reference in New Issue
Block a user