springBoot中测试类的头注解

@SpringBootTest(classes = SearchApplication.class)
@RunWith(SpringRunner.class)

SearchApplication为启动类
posted on 2018-12-04 17:05  supress_Elon_Musk  阅读(1404)  评论(0编辑  收藏  举报