springboot 测试类
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@Runwith(SpringRunner.class)
@SpringBootTest(classes=Application.class)
public class springBootTest{
@Test
public void test(){
System.err.println("springboot test!!");
}
}

浙公网安备 33010602011771号