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

Document handling of multiline exception messages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.20
    • Maven Surefire Plugin
    • None

    Description

      I am throwing an exception whose message contains newlines for readability. When <trimStackTrace> is true (the default value) Surefire is removing all newlines.

      Expected behavior: Consider moving this functionality out of <trimStackTrace> into its own parameter. Regardless of which parameter enables this behavior, please document it at http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html ... right now there is no mention of this behavior.

      Attachments

        Activity

          People

            tibordigana Tibor Digana
            cowwoc Gili
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: