CleverTap/supertest-maven-plugin

Test case name parsing issue in SuperTest

Closed this issue · 0 comments

Let's say a unit test (fooTest) is run in 3 modes:

  1. [mode: m1]
  2. [mode: m2]
  3. [mode: m3]

In case such a unit test fails, the Maven Surefire plugin will generate the XML file with following testcase names:

  1. fooTest[mode: m1]
  2. fooTest[mode: m2]
  3. fooTest[mode: m3]

With the above info, SuperTest will generate a re-run command which will fail to execute, thus resulting in an overall build failure.
For the above testcase, the error was:

[ERROR] No plugin found for prefix 's3' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo]