0
点赞
收藏
分享

微信扫一扫

Java:SpringBootTest指定profile


示例

指定使用test环境配置

@SpringBootTest
@ActiveProfiles("test")
public class APiServiceImplTest {}

参考

  • spring boot-JUnit Test指定profile


举报

相关推荐

0 条评论