-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Milestone
Description
I suggest that @BeforeSuite
and @AfterSuite
annotations should be added to JUnit 5.
Obviously they should execute before and after the whole suite.
Or is there some other mechanism to accomplish that?
I suggest that there should not be static restriction, i.e. also non-static methods could be annotated with @BeforeSuite
and @AfterSuite
.
I personally prefer non-static as we use Spring in our tests and want to use injected beans in @BeforeSuite
method.
asafm, kokosing, sebersole, ypconstante, andrii0lomakin and 108 more