You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dietrich Schulten (Jira)" <ji...@apache.org> on 2019/12/12 14:57:00 UTC
[jira] [Created] (SUREFIRE-1737) Disabling the
JUnit5Xml30StatelessReporter has no effect
Dietrich Schulten created SUREFIRE-1737:
-------------------------------------------
Summary: Disabling the JUnit5Xml30StatelessReporter has no effect
Key: SUREFIRE-1737
URL: https://issues.apache.org/jira/browse/SUREFIRE-1737
Project: Maven Surefire
Issue Type: Bug
Affects Versions: 3.0.0-M4
Reporter: Dietrich Schulten
I have the following configuration for JUnit 5 display names:
{code:java}
<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>{code}
Based on the disable flag, the {{JUnit5Xml30StatelessReporter}} should be {{disabled}}, but it evaluates display names according to the {{usePhrasedXXX}} flags.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)