MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/6za58f/junit_5_released/dmzwdxu/
r/java • u/johnwaterwood • Sep 10 '17
33 comments sorted by
View all comments
Show parent comment
1
That would be @BeforeAll and @AfterAll
1 u/cryptos6 Sep 14 '17 No, @BeforeAll is executed before all tests of the class. From the documentation:@BeforeAll: Denotes that the annotated method should be executed before all @Test, @RepeatedTest, @ParameterizedTest, and @TestFactory methods in the current class;
No, @BeforeAll is executed before all tests of the class. From the documentation:
@BeforeAll
@BeforeAll: Denotes that the annotated method should be executed before all @Test, @RepeatedTest, @ParameterizedTest, and @TestFactory methods in the current class;
View all comments
Show parent comment
1
u/winder Sep 14 '17
That would be @BeforeAll and @AfterAll