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

trimStackTrace=true trims "caused by:" sections complelely away

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.16
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Description of the parameter 'trimStackTrace' states "trim the stack trace in the reports to just the lines within the test" which it does nicely on the stacktrace, but there may be additional information in the initial cause that doesn't fall to the category "not within the test". Without trimming these "caused by:" lines of course show up, but so does the overly long test framework part of the stacktrace.

        Attachments

        1. Test.java
          0.2 kB
        2. pom.xml
          1.0 kB

          Issue Links

            Activity

              People

              • Assignee:
                tibordigana Tibor Digana
                Reporter:
                e Elias Elmqvist Wulcan
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: