摘要: 简介:讲解SpringBoot的单元测试 1、引入相关依赖 <!--springboot程序测试依赖,如果是自动创建项目默认添加--> 2、使用 @RunWith(SpringRunner.class) //底层用junit SpringJUnit4ClassRunner @SpringBootTe 阅读全文
posted @ 2018-09-25 15:41 M_Blood 阅读(4953) 评论(0) 推荐(0) 编辑