在springboot测试中使用测试配置
摘要:
在springboot测试中使用yml格式配置文件 在测试时我们需要单独的测试配置,springboot支持yml格式和古老的properties格式。 这里就使用yml格式的测试配置做简单说明。 可以使用两种注解方式使用测试配置: 使用@ActiveProfiles注解 使用方法: 在resour 阅读全文
posted @ 2020-06-15 11:22 acgq 阅读(8992) 评论(0) 推荐(0)
浙公网安备 33010602011771号