[
https://issues.apache.org/jira/browse/SUREFIRE-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14541595#comment-14541595
]
Tibor Digana commented on SUREFIRE-1017:
----------------------------------------
If you filter only a suite , the children are not in TestSet, you have to
discover classpath which we are doing but then you need to get the collection
of packages in the SmartStackTraceParser. The question is if the parser will
compare the packages all the time which is the waste or do it in a plugin and
pass it to fork starter. What should be info should be passed, I guess
something like this Map<simple-class-name, Collection<package>> then compute
smart diff between packages and concatenate the diff with simple class name.
It looks like a lot of work in plugin, booter, fork starter, providers,
SmartStackTraceParser.
Therefore the solution with -DtrimStackTrace=true|false was simpler.
We can still discuss it, but coding anything which takes long time would not be
realistic on my side - not this year - other things are more relevant e.g.
surefire 3.0.
> 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)