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

后端 未结 0 2031
盖世英雄少女心
盖世英雄少女心 2021-02-12 04:59

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

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