【发布时间】:2019-12-28 04:20:44
【问题描述】:
正如我所见,org.springframework.test.context.junit4.rules.SpringClassRule 与 ClassRule 等价于 org.springframework.test.context.junit4.SpringJUnit4ClassRunner。
不过,我想用ClassRule 启动我的整个 Spring Boot 应用程序。有没有像org.springframework.boot.test.contextSpringBootTest 这样的ClassRule?
【问题讨论】:
标签: java spring spring-boot junit junit4