我们前面spring-boot-sample-mysql工程的启动类为SpringBootSampleMysqlApplication,那么测试类上的注解就是. @RunWith(SpringJUnit4ClassRunner.class)
確定! 回上一頁