Add beforeeach module: @BeforeEach/@AfterEach lifecycle demos on JUnit 6.1.3 (JDK 25)
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b6FRR2Dk1163xJ5CdV
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
new PerClass()
|
||||
@BeforeEach
|
||||
a counter=1
|
||||
@BeforeEach
|
||||
b counter=2
|
||||
-- results --
|
||||
SUCCESSFUL a()
|
||||
SUCCESSFUL b()
|
||||
SUCCESSFUL Fixtures$PerClass
|
||||
Reference in New Issue
Block a user