如何使用 Maven Profiles 启动测试
要启动 Maven profiles 中的 test,可以使用以下命令:
mvn test -P<profile_name>
其中 <profile_name> 是你想要启动的 profile 的名称。这将会执行与该 profile 相关联的测试。
请确保在 pom.xml 文件中正确配置了 profile,以及包含了相关的测试配置。
原文地址: https://www.cveoy.top/t/topic/qkOr 著作权归作者所有。请勿转载和采集!