GitHub user surli opened a pull request: https://github.com/apache/maven-surefire/pull/143
maven-surefire-parser: add new method isError in ReportTestCase There is currently no way after parsing test cases to know if the test case is a failure or an error. I added a boolean `isError` in ReportTestCase and associated getter and setter and I set it up in the TestSuiteXmlParser. I need this feature for an automation repair project: if there is another way with existing tooling, just tell me about it! You can merge this pull request into a Git repository by running: $ git pull https://github.com/surli/maven-surefire surefire-parser-feature-error-status Alternatively you can review and apply these changes as the patch at: https://github.com/apache/maven-surefire/pull/143.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #143 ---- commit 2b97d46d5a5adf660a0231a7128cbae3839845b8 Author: Simon Urli <simon.u...@inria.fr> Date: 2017-02-08T16:57:30Z Change ReportTestCase to add a new isError method to detect if it's a failure or an error. Change parser and tests accordingly. commit 36f724a0371e6cf9a565dfcef0b9d3953ddd56f1 Author: Simon Urli <simon.u...@inria.fr> Date: 2017-02-08T17:43:58Z Fix checkstyle issue. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org