Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-2242

Plain test report does not include names of the skipped tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.5
    • 3.3.1
    • None
    • None

    Description

      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
      

       

       

      Attachments

        Activity

          People

            michael-o Michael Osipov
            apopescu Alexandru Popescu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: