把@Before 改成@BeforeEach
@After 改成@AfterEach
关于springboot test中使用@Before 不执行
最新推荐文章于 2024-04-30 12:00:10 发布
把@Before 改成@BeforeEach
@After 改成@AfterEach