Issue Details (XML | Word | Printable)

Key: MPTEST-43
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Lukas Theussl
Reporter: Matthias Kerkhoff
Votes: 4
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
Maven 1.x Test Plugin

Add the ability to control junit's showoutput attribute

Created: 29/Sep/04 03:20 PM   Updated: 26/Mar/06 12:32 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 1.8

Time Tracking:
Not Specified


 Description  « Hide
There are situations in which the full output of the junit task is needed.
This happens typically when the test fails due to an internal error (as opposed to a test failure). For example, if you have a test case which doesn't have all required classes in its classpath, invoking this test will create a ClassNotFoundException. Other examples might include test cases which rely on the presence or execution of native code.
The stack trace for junit errors that occur before the test method is executed will only be visible if the showoutput attribute of the junit task is set to true.

I would suggest to either make the showoutput attribute configurable through an additional maven property and/or to set showoutput=true unconditionally if maven is executed in debug mode (-X option).



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Lukas Theussl added a comment - 26/Mar/06 12:32 PM
The showoutput attribute is set if Maven is executed in debug (-X) mode.