Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JENKINS-42715] xUnit does not support PHPUnit 5.x skipped attribute
Support skipped attribute during PHPUnit validation. The attribute is supported since PHPUnit version 5.4/6.5 with the PR * sebastianbergmann/phpunit#2144
- Loading branch information
Showing
6 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
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
11 changes: 11 additions & 0 deletions
11
src/test/resources/org/jenkinsci/plugins/xunit/types/phpunit/testcase8/junit-result.xml
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,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<testsuites> | ||
<testsuite name="SampleTest" tests="2" failures="0" errors="0" skipped="2" | ||
time="0.001106" | ||
timestamp=""> | ||
<testcase classname="SampleTest" name="testSkippingTest" time="0.000948" | ||
assertions="0"/> | ||
<testcase classname="SampleTest" name="testSkippingTestWithReason" time="0.000158" | ||
assertions="0"/> | ||
</testsuite> | ||
</testsuites> |
11 changes: 11 additions & 0 deletions
11
src/test/resources/org/jenkinsci/plugins/xunit/types/phpunit/testcase8/testresult.xml
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,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<testsuites> | ||
<testsuite name="SampleTest" file="/tmp/sample/test.php" tests="2" assertions="0" errors="0" failures="0" skipped="2" time="0.001106"> | ||
<testcase name="testSkippingTest" class="SampleTest" file="/tmp/sample/test.php" line="7" assertions="0" time="0.000948"> | ||
<skipped/> | ||
</testcase> | ||
<testcase name="testSkippingTestWithReason" class="SampleTest" file="/tmp/sample/test.php" line="12" assertions="0" time="0.000158"> | ||
<skipped/> | ||
</testcase> | ||
</testsuite> | ||
</testsuites> |
11 changes: 11 additions & 0 deletions
11
src/test/resources/org/jenkinsci/plugins/xunit/types/phpunit/testcase9/junit-result.xml
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,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<testsuites> | ||
<testsuite name="SampleTest" tests="2" failures="0" errors="0" skipped="2" | ||
time="0.001725" | ||
timestamp=""> | ||
<testcase classname="SampleTest" name="testSkippingTest" time="0.001648" | ||
assertions="0"/> | ||
<testcase classname="SampleTest" name="testSkippingTestWithReason" time="0.000077" | ||
assertions="0"/> | ||
</testsuite> | ||
</testsuites> |
11 changes: 11 additions & 0 deletions
11
src/test/resources/org/jenkinsci/plugins/xunit/types/phpunit/testcase9/testresult.xml
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,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<testsuites> | ||
<testsuite name="SampleTest" file="/tmp/sample/test.php" tests="2" assertions="0" errors="0" failures="0" skipped="2" time="0.001725"> | ||
<testcase name="testSkippingTest" class="SampleTest" classname="SampleTest" file="/tmp/sample/test.php" line="7" assertions="0" time="0.001648"> | ||
<skipped/> | ||
</testcase> | ||
<testcase name="testSkippingTestWithReason" class="SampleTest" classname="SampleTest" file="/tmp/sample/test.php" line="12" assertions="0" time="0.000077"> | ||
<skipped/> | ||
</testcase> | ||
</testsuite> | ||
</testsuites> |