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

trimStackTrace = false by default

    XMLWordPrintableJSON

Details

    Description

      New description:

      Currently, the default value of the config parameter trimStackTrace is set to true. This fix changes the default value.

      Old description:

      Specify StackTraceInterpreterExtension abstract class with constructor parameter boolean trim and protected getter for trim. Single public method interpret(context): String.

      DefaultStackTraceImpl - current implementation that trimmed trace prints only test class
      SmartStackTraceImpl - full trace or the following if trimmed (for error):

      java.lang.NullPointerException: msg
      o.a.s.m.xyz.ExceptionThrownFromHereClass (three classes here max.)
      o.a.s.m.NestedStackTraceInTheSamePackage
      o.a.s.m.NestedStackTraceInTheSamePackage
      ...
      o.a.s.m.SomeTestInSamePackageTest
      o.a.s.m.SomeTestInSamePackageTest

      (for failure - assertion failed - only this: )
      SomeAssertionError: msg
      o.a.s.m.SomeTestInSamePackageTest
      o.a.s.m.SomeTestInSamePackageTest

      Here is brief package displayed or full Java package if totally different from package in test.

      Attachments

        Issue Links

          Activity

            People

              tibordigana Tibor Digana
              tibordigana Tibor Digana
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m