xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hamilton Turner (JIRA)" <j...@apache.org>
Subject [jira] [Created] (BATIK-1255) [PATCH] 'mvn test' discards output on failed regard tests
Date Sun, 03 Mar 2019 04:54:00 GMT
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)

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


Mime
View raw message