SpringBoot如何集成JUnit
@RunWith(SpringRunner.class) @SpringBootTest public class XXXServiceTest { @Autowired private XXXService xxxService; @Test public void test1() { } }
SpringBoot如何集成JUnit
@RunWith(SpringRunner.class) @SpringBootTest public class XXXServiceTest { @Autowired private XXXService xxxService; @Test public void test1() { } }