代码中配置
@TestPropertySource(value = {"classpath:${env}/aa.properties", "classpath:${env}/bb.properties"})
idea中使用
maven 命令行
mvn -Denv=test1 clean install
@TestPropertySource(value = {"classpath:${env}/aa.properties", "classpath:${env}/bb.properties"})
mvn -Denv=test1 clean install