You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2020/06/28 17:16:18 UTC

[Bug 64564] New: JUnitLauncher Task should support @ParameterizedTest (custom display name)

https://bz.apache.org/bugzilla/show_bug.cgi?id=64564

            Bug ID: 64564
           Summary: JUnitLauncher Task should support @ParameterizedTest
                    (custom display name)
           Product: Ant
           Version: 1.10.8
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optional Tasks
          Assignee: notifications@ant.apache.org
          Reporter: Simon.Legner@gmail.com
  Target Milestone: ---

Follow-up of Bug 63680.

The @ParameterizedTest annotation allows to specify a custom naming rule for
the tests. Ant's JUnitLauncher should respect this configuration.

Javadoc of @ParameterizedTest:
https://junit.org/junit5/docs/5.3.0/api/org/junit/jupiter/params/ParameterizedTest.html#name()
Tutorial + sample code:
https://www.baeldung.com/parameterized-tests-junit-5#display-name
Relevant for JOSM's integration tests:
https://josm.openstreetmap.de/ticket/16567#comment:50

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64564] JUnitLauncher Task should support @ParameterizedTest (custom display name)

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64564

Vincent Privat <vi...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vincent.privat@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64564] JUnitLauncher Task should support @ParameterizedTest (custom display name)

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64564

Jaikiran Pai <ja...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |1.10.10

--- Comment #2 from Jaikiran Pai <ja...@apache.org> ---
This has been implemented and available in released version 1.10.10 of Ant.
More details in https://github.com/apache/ant/pull/121

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 64564] JUnitLauncher Task should support @ParameterizedTest (custom display name)

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64564

--- Comment #1 from Vincent Privat <vi...@gmail.com> ---
There is a GitHub PR that should fix this bug:
https://github.com/apache/ant/pull/121

-- 
You are receiving this mail because:
You are the assignee for the bug.