- 这是答案的仓库:https
- //github.com/jakehschwartz/spring-boot-cucumber-
example
简而言之,
AbstractSpringTest该类需要具有以下注释:
@RunWith(SpringJUnit4ClassRunner.class)@ContextConfiguration(classes = DemoApplication.class, loader = SpringApplicationContextLoader.class)@WebAppConfiguration@IntegrationTest
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)