Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Duplicate
-
2.3
-
None
-
None
-
None
-
Patch
Description
The redirectTestOutputToFile feature does not handle cases when output is soaked up before the tests actually run, like output from static blocks or from test case constructors. If output is detected before the testSetStarting is invoked, then all further output will be due to a thrown ISE, which gets eatten up somewhere in surefire.
Additionally, when a test outputs to STDOUT and STDERR, the output is not muxed properly into the -output.txt file.
Attachments
Attachments
Issue Links
- is related to
-
SUREFIRE-138 Add option to redirect stdout from tests to a file
- Closed
- relates to
-
SUREFIRE-349 redirectTestOutputToFile truncates summary information
- Closed