标签:ram spring contex pat port classpath junit4 oca ring
`import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = "classpath:applicationContext.xml")
public class Test {
@org.junit.Test
public void test(){
System.out.println("我不知道!");
}
}
`
标签:ram spring contex pat port classpath junit4 oca ring
原文地址:https://www.cnblogs.com/SnowPrince/p/13997907.html