I wanna setup all stuff for all my tests. They are in different classes. There is @BeforeClass, but with it, my setup will be executed in every class. Can I configure it for the whole project?
Asked
Active
Viewed 49 times
0
-
Sorry, can you clarify that a bit more? Are you saying you want to run some setup code before the entire suite of tests is executed? – Michael Dodd May 19 '17 at 15:54
-
exactly @MichaelDodd! – jakub May 19 '17 at 15:56
-
@qbait https://stackoverflow.com/questions/12087959/junit-run-set-up-method-once – wprzechodzen May 30 '17 at 09:51