Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.14.1
-
None
-
geb, selenium, spock, groovy, mvn 3.0.5, linux
Description
With trimStackTrace=true, surefire trims too much of the stack, at least in some cases. In particular, selenium generates a particularly long and interesting stack trace, and surefire trims away all the useful information, including the stack frame of the test itself, which is the most important piece of information.
In the attached project (mvn_stacktrace.tar.gz), use "mvn test" to see the trimmed stack trace (it uses Firefox to run the test). Running with "mvn -DtrimStackTrace=false test" shows the full stack trace, including the vital line "at StackTraceTest.stackTraceTest(StackTraceTest.groovy:8)" which was trimmed during the first run.
See an attached typescript of a session showing both runs.