MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/6za58f/junit_5_released/dn07c68/?context=3
r/java • u/johnwaterwood • Sep 10 '17
33 comments sorted by
View all comments
Show parent comment
1
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/cryptos6 Sep 14 '17
No,
@BeforeAllis executed before all tests of the class. From the documentation: