SpringBoot中测试类
2018-09-20 本文已影响0人
马艳泽
测试类上需要加上这两个注解
@RunWith(SpringRunner.class)
@SpringBootTest(classes = IotAnalysisServerApplication.class)
测试类上需要加上这两个注解
@RunWith(SpringRunner.class)
@SpringBootTest(classes = IotAnalysisServerApplication.class)