Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


titleFunctional tests

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. On the other hand, if you are already used to the maven-surefire-plugin or maven-failsafe-plugin for your tests, then this Cargo Maven2/Maven3 plugin is probably the best option for you. It is also in most cases more straightforward to use.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.)

Table of Contents

The documentatation for this Maven2 plugin includes: