[
https://issues.apache.org/jira/browse/SUREFIRE-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14540708#comment-14540708
]
Tibor Digana commented on SUREFIRE-1017:
----------------------------------------
Since people like short log and trimStackTrace is set to true by default I am
thinking about the following compromise.
By default the log would not change either
(inner-most exception in test-class, trimmed stacktrace, no package, 80 char
wide lines):
{quote}
Failed tests:
RoundtripTest >
AbstractTestNGSpringContextTestsMov.run:196->test:157->AbstractRoundtripTestFramework.runAction:379
» Runtime
Tests run: 829, Failures: 9, Errors: 0, Skipped: 0
{quote}
We have another issue with stacktrace and another was found that stacktrace is
not really trimmed at all.
This needs to be fixed as well.
The situation would change if you set trimStackTrace=true and the log is
proposed as follows:
(inner-most exception functionality is off, full stacktrace, package in first
line per test, still 80 char wide lines)
{quote}
Failed tests:
{color:red}
RoundtripTest(com.mycomp.roundtrip.v05.intermov.startcom.mycomp.roundtrip.v05.intermov.start)
{color}
RoundtripTest > AbstractTestNGSpringContextTestsMov.run:196->test:38 TODO -
Intermov start not implemented in Core yet!
...
RoundtripTest >
AbstractTestNGSpringContextTestsMov.run:196->test:157->AbstractRoundtripTestFramework.runAction:379
» Runtime
Tests run: 829, Failures: 9, Errors: 0, Skipped: 0
{quote}
> Failures do not show test-package since 2.13
> --------------------------------------------
>
> Key: SUREFIRE-1017
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1017
> Project: Maven Surefire
> Issue Type: Improvement
> Affects Versions: 2.13, 2.14, 2.15
> Reporter: Christian Spriegel
> Assignee: Tibor Digana
> Fix For: 3.0
>
>
> Older versions of surefire always showed the package name of each failed test
> in the result overview.
> Since surefire 2.13 I simply get the classname:
> {code}
> Results :
> Failed tests:
> RoundtripTest>AbstractTestNGSpringContextTests.run:196->test:115 error
> RoundtripTest>AbstractTestNGSpringContextTests.run:196->test:115 error
> {code}
> As you can see I have two tests called RoundtripTest in the overview. These
> testclasses are in different packages, but I do not know which one is which.
> My testsuite has 830 testcases, where ~650 are called RoundtripTest. So its
> quite hard now for me to identify the failing tests.
> SUREFIRE-936 seems to have changed this. I have not checked the git commit,
> but from the description I assume that was the change.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)