Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.4.3
-
Fix Version/s: 2.13
-
Component/s: Maven Surefire Plugin
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
Maven & surefire has been here for a while but still I'm missing this feature. When my tests fail, I'd like to know exact failure reason.
1. Surefire summary does not show the stack trace / line number / assertion. Browsing results files in target dir is frustrating & time consuming.
2. It is impossible to use surefire-report plugin in fully automated way. If I plug report-only goal to phase test, this goal is not executed when phase test fails
Current workaround in my project is that every maven submodule has a handy batch file with 'mvn surefire-report:report-only'.
One of the ways of implementing it is adding stacktrace/assertion information in test summary.
What do you guys think about this idea?
Issue Links
- relates to
-
SUREFIRE-726
Test list preprocessor support for tests to be run
-
-
SUREFIRE-631
turn on useFile=false from the command line?
-
Activity
| Field | Original Value | New Value |
|---|---|---|
| Link |
This issue relates to |
| Component/s | Maven Surefire Plugin [ 12561 ] |
| Link | This issue relates to SUREFIRE-726 [ SUREFIRE-726 ] |
| Fix Version/s | 2.13 [ 18833 ] | |
| Resolution | Fixed [ 1 ] | |
| Status | Open [ 1 ] | Closed [ 6 ] |
| Assignee | Kristian Rosenvold [ krosenvold ] |
And you already tried setting the plugin's parameter useFile to false?