You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tibor Digana (Jira)" <ji...@apache.org> on 2019/11/17 22:23:00 UTC

[jira] [Commented] (SUREFIRE-1546) JUnit 5 runner does not honor JUnit 5 display names

    [ https://issues.apache.org/jira/browse/SUREFIRE-1546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16976182#comment-16976182 ] 

Tibor Digana commented on SUREFIRE-1546:
----------------------------------------

Yesterday (November 17, 2019) we released the version [3.0.0-M4|https://maven.apache.org/surefire/index.html] of Surefire and Failsafe. The [displayname have to be selected|https://maven.apache.org/surefire/maven-surefire-plugin/examples/junit-platform.html#Surefire_Extensions_and_Reports_Configuration_for_.40DisplayName] and the default behavior is backwards compatible.
We support display name.
We support re-run of normal and parameterized tests as well.
See [the matrix|https://maven.apache.org/surefire/maven-surefire-plugin/featurematrix.html] of supported or not supported features.
Currently, we do not support reports with parallel tests due to the reporters, e.g. {{StatelessXmlReporter}}, whcih are not fully event based. These event based reporters will be reworked in future versions. This will open the door to support even more features than listed in the above matrix.

> JUnit 5 runner does not honor JUnit 5 display names
> ---------------------------------------------------
>
>                 Key: SUREFIRE-1546
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1546
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: JUnit 5.x support
>    Affects Versions: 2.22.0
>            Reporter: Romain Manni-Bucau
>            Assignee: Tibor Digana
>            Priority: Major
>              Labels: junit5
>             Fix For: 3.0.0-M4
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> JUnit 5 runner should respect the test @DisplayName instead of displaying the classname if any is defined. Seems last release doesn't support that feature of JUnit 5 making the console output and reports not the expected ones.
>  
> Origin: https://github.com/junit-team/junit5/issues/990



--
This message was sent by Atlassian Jira
(v8.3.4#803005)