示例
指定使用test环境配置
@SpringBootTest
@ActiveProfiles("test")
public class APiServiceImplTest {}
参考
- spring boot-JUnit Test指定profile
微信扫一扫
示例
指定使用test环境配置
@SpringBootTest
@ActiveProfiles("test")
public class APiServiceImplTest {}
参考
相关推荐