The usage of Cargo for executing functional tests on a container does not mandate this m2 plugin. You could also directly use the Cargo Java API from your Java unit test classes (JUnit, TestNG, etc), as described on the Functional testing page. The choice is yours, thought the Maven2 plugin is generally more straightforward to use and integrates better with the whole build process (with profiles, easier to use deployer, proxy server support, etc.)
本文探讨了使用Cargo API直接进行Java单元测试与Maven2插件执行功能测试之间的选择,强调了Maven2插件在构建流程中的优势,包括更简便的部署、代理服务器支持等。
2808

被折叠的 条评论
为什么被折叠?



