Skip to content

[SUREFIRE-1737] Disabling the JUnit5Xml30StatelessReporter has no effect  #1995

@jira-importer

Description

@jira-importer

Dietrich Schulten opened SUREFIRE-1737 and commented

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.


Affects: 3.0.0-M4

Remote Links:

Backported to: 3.5.1

Metadata

Metadata

Labels

bugSomething isn't workingpriority:majorMajor loss of function

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions