maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Rosenvold (JIRA)" <>
Subject [jira] Closed: (SUREFIRE-697) When the exception message is long or contains linefeeds, the summary display is not nice
Date Mon, 07 Mar 2011 20:47:22 GMT


Kristian Rosenvold closed SUREFIRE-697.

       Resolution: Fixed
    Fix Version/s: 2.8
         Assignee: Kristian Rosenvold

Fixed with test in r1078913

> When the exception message is long or contains linefeeds, the summary display is not
> -----------------------------------------------------------------------------------------
>                 Key: SUREFIRE-697
>                 URL:
>             Project: Maven Surefire
>          Issue Type: Improvement
>          Components: Maven Surefire Plugin
>    Affects Versions: 2.7.2
>            Reporter: Kristian Rosenvold
>            Assignee: Kristian Rosenvold
>             Fix For: 2.8
> When the "message" of the exception is long (like Spring framework can do and some backend
systems) or contains some kind of multi-line text, the summary display ("Failed tests"/"Tests
with error") looks totally off. The message shown in the display should probably be truncated
to show only the first line of the message text. I am not sure if it also should be truncated
if it's very long single-line, which should be considered when fixing this issue. This problem
was introduced with SUREFIRE-645 in 2.7.2
> This is the display in question, but this testcase does not demonstrate the long messages
> Results :
> Failed tests: 
>   testiWithFail2(surefire613.Test2): We excpect this
>   testiWithFail4(surefire613.Test2): We excpect this
>   testiWithFail1(surefire613.Test2): We excpect this
>   testiWithFail3(surefire613.Test2): We excpect this
> Tests in error: 
>   testWithException8(surefire613.Test2): We expect this
>   testWithException7(surefire613.Test2): We expect this
>   testWithException6(surefire613.Test2): We expect this
>   testWithException5(surefire613.Test2): We expect this
>   testWithException4(surefire613.Test2): We expect this
>   testWithException3(surefire613.Test2): We expect this
>   testWithException2(surefire613.Test2): We expect this
>   testWithException1(surefire613.Test2): We expect this

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message