摘要: 1、junit 不需要开启页面进行测试,启动junit需要加载以下2个引用@RunWith(SpringRunner.class),@SpringBootTest。@Test 每个测试类都需要加上一个,选中启动即可。 test测试包必须在启动类的子包里面。 阅读全文
posted @ 2017-10-22 17:27 菜鸟777 阅读(166) 评论(0) 推荐(0)