-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(closes #59): switch to xmlbuilder2
BREAKING CHANGE: xmlbuilder2 does not support xml version 1.1, so junit-report-merger won't be able to process xml files with version 1.1 anymore. To my knowledge no tools use xml version 1.1 in their test reports, so this should not affect people. However, technically, this is a breaking change. xmlbuilder2 is faster than xmldom, is maintained better and is successor of extremely popular xmlbuilder package. Also, it is more standard compliant.
- Loading branch information
1 parent
1a2c6e2
commit 7a0e396
Showing
10 changed files
with
140 additions
and
67 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0"?> | ||
<testsuites failures="2" errors="0" tests="6"><testsuite name="PhantomJS 1.9.8" package="" timestamp="2016-01-22T18:25:08" id="0" hostname="MacBook-Pro.local" tests="2" errors="0" failures="1" time="0.026"> | ||
<properties> | ||
<property name="browser.fullName" value="PhantomJS/1.9.8 Safari/534.34"/> | ||
</properties> | ||
<testcase name="testcase1.1" time="0.003" classname="PhantomJS 1.9.8.add"/> | ||
<testcase name="testcase1.2" time="0.001" classname="PhantomJS 1.9.8.FAIL"> | ||
<failure type=""> | ||
AssertionError: expected undefined not to be an undefined | ||
</failure> | ||
</testcase> | ||
<system-out><![CDATA[ foo ]]></system-out> | ||
<system-err/> | ||
</testsuite><testsuite name="FAIL" timestamp="2016-01-22T18:25:02" tests="2" failures="1" time="0.001"> | ||
<testcase name="testcase2.1" time="0.001" classname="should fail on client"> | ||
</testcase> | ||
<testcase name="testcase2.2" time="0" classname="should fail on server"> | ||
<failure><![CDATA[ReferenceError: window is not defined | ||
at Context.<anonymous> (src/fail.spec.js:14:21)]]></failure> | ||
</testcase> | ||
</testsuite><testsuite name="pass1" timestamp="2016-01-22T18:25:02" tests="1" failures="0" time="0.001"> | ||
<testcase name="testcase3.1" time="0.001" classname="should pass 1"> | ||
</testcase> | ||
</testsuite><testsuite name="pass2" timestamp="2016-01-22T18:25:02" tests="1" failures="0" time="0.001"> | ||
<testcase name="testcase3.2" time="0.001" classname="should pass 2"> | ||
</testcase> | ||
</testsuite></testsuites> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<testsuite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report.xsd" | ||
name="repro.MyTest" time="2.6" tests="1" errors="0" skipped="0" failures="1"> | ||
<properties/> | ||
<testcase name="myMethod" classname="repro.MyTest" time="1.573"> | ||
<failure message="failure attr with ]]>" type="java.lang.AssertionError"> | ||
java.lang.AssertionError: failure message with ]]> | ||
</failure> | ||
</testcase> | ||
</testsuite> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Temporary output files from tests will be put in this folder and deleted after each test. | ||
|
||
Do not delete this folder. |