RunWith注解和ContextConfiguration注解的具体用途
摘要:
当我们使用Junit进行代码测试时,一般是这样的格式 1 public class Test { 2 3 @org.junit.Test 4 public void test2(){ 5 System.out.println(111); 6 } 7 } 当我们想要在测试类使用@Autowired自动 阅读全文
posted @ 2020-03-08 14:07 奋斗中的&小强 阅读(899) 评论(0) 推荐(0)
浙公网安备 33010602011771号