-
Notifications
You must be signed in to change notification settings - Fork 2
/
junit-nested.xml
87 lines (80 loc) · 5.96 KB
/
junit-nested.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite name="JBZoo\PHPUnit\ExampleTest" file="/Users/smetdenis/Work/projects/jbzoo-ci-report-converter/tests/ExampleTest.php" tests="14" assertions="8" errors="3" warnings="1" failures="4" skipped="2" time="10.511720">
<testcase name="testValid" class="JBZoo\PHPUnit\ExampleTest" classname="JBZoo.PHPUnit.ExampleTest" file="/Users/smetdenis/Work/projects/jbzoo-ci-report-converter/tests/ExampleTest.php" line="33" assertions="1" time="0.006633"/>
<testcase name="testInValid" class="JBZoo\PHPUnit\ExampleTest" classname="JBZoo.PHPUnit.ExampleTest" file="/Users/smetdenis/Work/projects/jbzoo-ci-report-converter/tests/ExampleTest.php" line="38" assertions="1" time="0.001102">
<failure type="PHPUnit\Framework\ExpectationFailedException">JBZoo\PHPUnit\ExampleTest::testInValid
Failed asserting that false is true.
/Users/smetdenis/Work/projects/jbzoo-ci-report-converter/vendor/jbzoo/phpunit/src/functions/aliases.php:107
/Users/smetdenis/Work/projects/jbzoo-ci-report-converter/tests/ExampleTest.php:40
</failure>
</testcase>
<testcase name="testSkipped" class="JBZoo\PHPUnit\ExampleTest" classname="JBZoo.PHPUnit.ExampleTest" file="/Users/smetdenis/Work/projects/jbzoo-ci-report-converter/tests/ExampleTest.php" line="43" assertions="0" time="0.000385">
<skipped/>
</testcase>
<testcase name="testIncomplete" class="JBZoo\PHPUnit\ExampleTest" classname="JBZoo.PHPUnit.ExampleTest" file="/Users/smetdenis/Work/projects/jbzoo-ci-report-converter/tests/ExampleTest.php" line="48" assertions="0" time="0.000597">
<skipped/>
</testcase>
<testcase name="testFail" class="JBZoo\PHPUnit\ExampleTest" classname="JBZoo.PHPUnit.ExampleTest" file="/Users/smetdenis/Work/projects/jbzoo-ci-report-converter/tests/ExampleTest.php" line="53" assertions="1" time="0.000079">
<failure type="PHPUnit\Framework\AssertionFailedError">JBZoo\PHPUnit\ExampleTest::testFail
Some reason to fail
/Users/smetdenis/Work/projects/jbzoo-ci-report-converter/vendor/jbzoo/phpunit/src/functions/aliases.php:51
/Users/smetdenis/Work/projects/jbzoo-ci-report-converter/tests/ExampleTest.php:55
</failure>
</testcase>
<testcase name="testEcho" class="JBZoo\PHPUnit\ExampleTest" classname="JBZoo.PHPUnit.ExampleTest" file="/Users/smetdenis/Work/projects/jbzoo-ci-report-converter/tests/ExampleTest.php" line="58" assertions="1" time="0.000062">
<system-out>Some echo output</system-out>
</testcase>
<testcase name="testStdOutput" class="JBZoo\PHPUnit\ExampleTest" classname="JBZoo.PHPUnit.ExampleTest" file="/Users/smetdenis/Work/projects/jbzoo-ci-report-converter/tests/ExampleTest.php" line="64" assertions="1" time="0.000641"/>
<testcase name="testErrOutput" class="JBZoo\PHPUnit\ExampleTest" classname="JBZoo.PHPUnit.ExampleTest" file="/Users/smetdenis/Work/projects/jbzoo-ci-report-converter/tests/ExampleTest.php" line="70" assertions="1" time="0.000082"/>
<testcase name="testNoAssert" class="JBZoo\PHPUnit\ExampleTest" classname="JBZoo.PHPUnit.ExampleTest" file="/Users/smetdenis/Work/projects/jbzoo-ci-report-converter/tests/ExampleTest.php" line="76" assertions="0" time="0.000057">
<error type="PHPUnit\Framework\RiskyTestError">Risky Test
</error>
</testcase>
<testcase name="testNotice" class="JBZoo\PHPUnit\ExampleTest" classname="JBZoo.PHPUnit.ExampleTest" file="/Users/smetdenis/Work/projects/jbzoo-ci-report-converter/tests/ExampleTest.php" line="80" assertions="0" time="0.000457">
<error type="PHPUnit\Framework\Error\Notice">JBZoo\PHPUnit\ExampleTest::testNotice
Undefined variable: aaa
/Users/smetdenis/Work/projects/jbzoo-ci-report-converter/tests/ExampleTest.php:82
</error>
</testcase>
<testcase name="testWarning" class="JBZoo\PHPUnit\ExampleTest" classname="JBZoo.PHPUnit.ExampleTest" file="/Users/smetdenis/Work/projects/jbzoo-ci-report-converter/tests/ExampleTest.php" line="85" assertions="0" time="0.000256">
<warning type="PHPUnit\Framework\Warning">JBZoo\PHPUnit\ExampleTest::testWarning
Some warning
/Users/smetdenis/Work/projects/jbzoo-ci-report-converter/tests/ExampleTest.php:87
</warning>
</testcase>
<testcase name="testException" class="JBZoo\PHPUnit\ExampleTest" classname="JBZoo.PHPUnit.ExampleTest" file="/Users/smetdenis/Work/projects/jbzoo-ci-report-converter/tests/ExampleTest.php" line="90" assertions="0" time="0.000608">
<error type="JBZoo\PHPUnit\Exception">JBZoo\PHPUnit\ExampleTest::testException
JBZoo\PHPUnit\Exception: Exception message
/Users/smetdenis/Work/projects/jbzoo-ci-report-converter/tests/ExampleTest.php:93
</error>
<system-out>Some echo output</system-out>
</testcase>
<testcase name="testCompareArrays" class="JBZoo\PHPUnit\ExampleTest" classname="JBZoo.PHPUnit.ExampleTest" file="/Users/smetdenis/Work/projects/jbzoo-ci-report-converter/tests/ExampleTest.php" line="96" assertions="1" time="0.000761">
<failure type="PHPUnit\Framework\ExpectationFailedException">JBZoo\PHPUnit\ExampleTest::testCompareArrays
Failed asserting that two arrays are identical.
--- Expected
+++ Actual
@@ @@
-Array &0 ()
+Array &0 (
+ 0 => 1
+)
/Users/smetdenis/Work/projects/jbzoo-ci-report-converter/vendor/jbzoo/phpunit/src/functions/aliases.php:197
/Users/smetdenis/Work/projects/jbzoo-ci-report-converter/tests/ExampleTest.php:98
</failure>
</testcase>
<testcase name="testCompareString" class="JBZoo\PHPUnit\ExampleTest" classname="JBZoo.PHPUnit.ExampleTest" file="/Users/smetdenis/Work/projects/jbzoo-ci-report-converter/tests/ExampleTest.php" line="101" assertions="1" time="10.500000">
<failure type="PHPUnit\Framework\ExpectationFailedException">JBZoo\PHPUnit\ExampleTest::testCompareString
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'132'
+'123'
/Users/smetdenis/Work/projects/jbzoo-ci-report-converter/vendor/jbzoo/phpunit/src/functions/aliases.php:197
/Users/smetdenis/Work/projects/jbzoo-ci-report-converter/tests/ExampleTest.php:103
</failure>
</testcase>
</testsuite>
</testsuites>