Uploaded image for project: 'Maven Surefire (Moved to GitHub Issues)'
  1. Maven Surefire (Moved to GitHub Issues)
  2. SUREFIRE-1737

Disabling the JUnit5Xml30StatelessReporter has no effect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0-M4
    • 3.5.1, 3.5.3
    • None
    • None

    Description

      I have the following configuration for JUnit 5 display names:

      <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-surefire-plugin</artifactId>
          <version>3.0.0-M4</version>
          <configuration>
              <statelessTestsetReporter implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5Xml30StatelessReporter">
                  <disable>true</disable>
                  <usePhrasedFileName>true</usePhrasedFileName>
                  <usePhrasedTestSuiteClassName>true</usePhrasedTestSuiteClassName>
                  <usePhrasedTestCaseClassName>true</usePhrasedTestCaseClassName>
                  <usePhrasedTestCaseMethodName>true</usePhrasedTestCaseMethodName>
              </statelessTestsetReporter>
          </configuration>
      </plugin>

      Based on the disable flag, the JUnit5Xml30StatelessReporter should be disabled, but it evaluates display names according to the usePhrasedXXX flags.

      Attachments

        Activity

          People

            sjaranowski Slawomir Jaranowski
            dschulten Dietrich Schulten
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: