Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-1267

Maven Surifire pluging fails with TesNG SoftAssert.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 2.19.1
    • None
    • TestNG support
    • None

    Description

      I am using Maven Surefire plugin with TestNG SoftAssert. When I am catching any softassert in my Test case SureFire Plugin giving below error. I am using sofAssert.assertAll() methode in my @Test Annotation.

      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 57.062 s
      [INFO] Finished at: 2016-08-01T16:30:26+05:30
      [INFO] Final Memory: 16M/220M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project Project: There are test failures.
      [ERROR]
      [ERROR] Please refer to C:\MavenTestNG\Project\target\surefire-reports for the individual test results.
      [ERROR] -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

      Attachments

        Activity

          People

            Unassigned Unassigned
            sumitsharma Sumit Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: