JUnit @BeforeClass non-static work around for Spring Boot application

后端 未结 0 684
抹茶落季
抹茶落季 2021-02-12 05:08

JUnit\'s @BeforeClass annotation must be declared static if you want it to run once before all the @Test methods. However, this cannot be used with dep

相关标签:
回答
  • 消灭零回复
提交回复
热议问题