[jira] [Created] (BATIK-1255) [PATCH] 'mvn test' discards output on failed regard tests
"Hamilton Turner (JIRA)" <[email protected]> Sun, 3 Mar 2019 04:54:00 +0000 (UTC)
| Newsgroups | gmane.text.xml.batik.devel |
|---|---|
| Message-ID | <[email protected]> |
Hamilton Turner created BATIK-1255:
--------------------------------------
Summary: [PATCH] 'mvn test' discards output on failed regard tests
Key: BATIK-1255
URL: https://issues.apache.org/jira/browse/BATIK-1255
Project: Batik
Issue Type: Improvement
Components: Test Tools
Affects Versions: 1.11
Reporter: Hamilton Turner
Attachments: 0001-Ensure-JUnitRunnerTestCase-captures-output-on-failur.patch
The attached patch ensures that, on test failure, "regard framework" tests are fully printed - both the test error code and the test description entry lists. Before this patch, a failure inside of `mvn test` would result in the following output in the `target/surefire-reports/<TEST>-output.txt` file:
{noformat}
Running: PerformanceTestValidator
Failed: PerformanceTestValidator{noformat}
With the patch, we now see the full regard output (only shown when tests fail):
{noformat}
Running: PerformanceTestValidator
Error Code: unexpected.performance.test.failure
error.code: unexpected.performance.improvement
expected.score: 0.3333333333333333
actual.score: 0.2895833333333333
regression.percentage: 15.107913669064752
Failed: PerformanceTestValidator{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)