You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Alexandru Popescu (Jira)" <ji...@apache.org> on 2024/03/15 13:23:00 UTC

[jira] [Created] (SUREFIRE-2242) Plain test report does not include names of the skipped tests

Alexandru Popescu created SUREFIRE-2242:
-------------------------------------------

             Summary: Plain test report does not include names of the skipped tests
                 Key: SUREFIRE-2242
                 URL: https://issues.apache.org/jira/browse/SUREFIRE-2242
             Project: Maven Surefire
          Issue Type: Improvement
    Affects Versions: 3.2.5
            Reporter: Alexandru Popescu


When using the plain reportFormat, skipped tests using JUnit Assumptions/Conditions API are not including the method name in the report, just the class name.

 

Example output (note the last 2 lines, indicating two skipped test)

 

{{Tests run: 3, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.031 s -- in org.example.AssumptionsDemo}}
{{org.example.AssumptionsDemo.testWithAssumption -- Time elapsed: 0.015 s}}
{{org.example.AssumptionsDemo skipped}}
{{org.example.AssumptionsDemo skipped}}

 

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)