spring 测试类头部
2019-01-29 本文已影响0人
马艳泽
spring mvc
```
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration("classpath:spring-mvc.xml")
public class BatchInsertTest {
}
```
spring boot
```
@RunWith(SpringRunner.class)
@SpringBootTest(classes = IotGpsServerApplication.class)
public class AddCdstbTest {
}
```