Spring boot下如何写junit代码来测试 service类

在Springboot中,写Junit的例子以下: html @RunWith(SpringRunner.class) @SpringBootTest(classes = Application.class) public class PrestoTest { @Resource private PrestoService prestoService; @Test
相关文章
相关标签/搜索