[
https://issues.apache.org/jira/browse/SUREFIRE-1546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16816931#comment-16816931
]
Tibor Digana edited comment on SUREFIRE-1546 at 4/13/19 12:46 PM:
------------------------------------------------------------------
[~marcphilipp]
We still do not know what this test would return in
{{methodSource.getMethodName()}} and {{testIdentifier.getDisplayName()}}. We
don't have such IT.
Currently we alter {{classname}} and {{name}} xml attribute by enabled/disabled
Display Name in Surefire Extension. And I think two xml attributes for
testsuite and testcase can be added but then the new extension would have to
provide a new config param saying which XSD version to use in generated XML.
was (Author: tibor17):
[~marcphilipp]
We still do not know what this test would return in
{{methodSource.getMethodName()}} and {{testIdentifier.getDisplayName()}}. We
don't have such IT.
Currently we alter {{classname}} xml attribute by enabled/disabled Display Name
in Surefire Extension. And I think two xml attributes for testsuite and
testcase can be added but then the new extension would have to provide a new
config param saying which XSD version to use in generated XML.
> 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: 20m
> 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
(v7.6.3#76005)