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
浙公网安备 33010602011771号