Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-2909

AS7 testsuite - maven.test.failure.ignore vs. surefire.test.failure.ignore

    XMLWordPrintable

Details

    Description

      I have problem with AS7 TS internal surefire.test.failure.ignore property to ignore tests failures. Ignoring failed tests can be useful for code coverage or when you are building unstable version of AS7. With this property we are adding requirements for users because they will need to search for all properties and can't rely on standard Maven knowledge.

      Is there any hidden motivation for surefire.test.failure.ignore property? I can't recall any.

      Current command:
      ./tools/maven/bin/mvn -e -s tools/maven/conf/settings.xml install -Dts.smoke -Dmaven.test.failure.ignore=true -Dsurefire.test.failure.ignore=true
      Goal:
      ./tools/maven/bin/mvn -e -s tools/maven/conf/settings.xml install -Dts.smoke -Dmaven.test.failure.ignore=true
      Suggestion:
      Replace surefire.test.failure.ignore property with standard maven.test.failure.ignore

      Links:
      https://github.com/jbossas/jboss-as/blob/master/testsuite/pom.xml#L114
      http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#testFailureIgnore

      Attachments

        Issue Links

          Activity

            People

              ozizka_jira Ondrej Zizka (Inactive)
              rsvoboda@redhat.com Rostislav Svoboda
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: