gotest.tools/gotestsum@v1.11.0/internal/junitxml/testdata/junitxml-report.golden (about) 1 <?xml version="1.0" encoding="UTF-8"?> 2 <testsuites name="test" tests="59" failures="13" errors="1" time="2.1"> 3 <testsuite tests="0" failures="0" time="0.001000" name="gotest.tools/gotestsum/testjson/internal/badmain" timestamp="0001-01-01T00:00:00Z"> 4 <properties> 5 <property name="go.version" value="go7.7.7"></property> 6 </properties> 7 <testcase classname="" name="TestMain" time="0.000000"> 8 <failure message="Failed" type="">sometimes main can exit 2
FAIL	gotest.tools/gotestsum/testjson/internal/badmain	0.001s
</failure> 9 </testcase> 10 </testsuite> 11 <testsuite tests="0" failures="0" time="0.000000" name="gotest.tools/gotestsum/testjson/internal/empty" timestamp="0001-01-01T00:00:00Z"> 12 <properties> 13 <property name="go.version" value="go7.7.7"></property> 14 </properties> 15 </testsuite> 16 <testsuite tests="18" failures="0" time="0.000000" name="gotest.tools/gotestsum/testjson/internal/good" timestamp="0001-01-01T00:00:00Z"> 17 <properties> 18 <property name="go.version" value="go7.7.7"></property> 19 </properties> 20 <testcase classname="gotest.tools/gotestsum/testjson/internal/good" name="TestSkipped" time="0.000000"> 21 <skipped message="=== RUN TestSkipped
 good_test.go:23: 
--- SKIP: TestSkipped (0.00s)
"></skipped> 22 </testcase> 23 <testcase classname="gotest.tools/gotestsum/testjson/internal/good" name="TestSkippedWitLog" time="0.000000"> 24 <skipped message="=== RUN TestSkippedWitLog
 good_test.go:27: the skip message
--- SKIP: TestSkippedWitLog (0.00s)
"></skipped> 25 </testcase> 26 <testcase classname="gotest.tools/gotestsum/testjson/internal/good" name="TestPassed" time="0.000000"></testcase> 27 <testcase classname="gotest.tools/gotestsum/testjson/internal/good" name="TestPassedWithLog" time="0.000000"></testcase> 28 <testcase classname="gotest.tools/gotestsum/testjson/internal/good" name="TestPassedWithStdout" time="0.000000"></testcase> 29 <testcase classname="gotest.tools/gotestsum/testjson/internal/good" name="TestWithStderr" time="0.000000"></testcase> 30 <testcase classname="gotest.tools/gotestsum/testjson/internal/good" name="TestNestedSuccess/a/sub" time="0.000000"></testcase> 31 <testcase classname="gotest.tools/gotestsum/testjson/internal/good" name="TestNestedSuccess/a" time="0.000000"></testcase> 32 <testcase classname="gotest.tools/gotestsum/testjson/internal/good" name="TestNestedSuccess/b/sub" time="0.000000"></testcase> 33 <testcase classname="gotest.tools/gotestsum/testjson/internal/good" name="TestNestedSuccess/b" time="0.000000"></testcase> 34 <testcase classname="gotest.tools/gotestsum/testjson/internal/good" name="TestNestedSuccess/c/sub" time="0.000000"></testcase> 35 <testcase classname="gotest.tools/gotestsum/testjson/internal/good" name="TestNestedSuccess/c" time="0.000000"></testcase> 36 <testcase classname="gotest.tools/gotestsum/testjson/internal/good" name="TestNestedSuccess/d/sub" time="0.000000"></testcase> 37 <testcase classname="gotest.tools/gotestsum/testjson/internal/good" name="TestNestedSuccess/d" time="0.000000"></testcase> 38 <testcase classname="gotest.tools/gotestsum/testjson/internal/good" name="TestNestedSuccess" time="0.000000"></testcase> 39 <testcase classname="gotest.tools/gotestsum/testjson/internal/good" name="TestParallelTheFirst" time="0.010000"></testcase> 40 <testcase classname="gotest.tools/gotestsum/testjson/internal/good" name="TestParallelTheThird" time="0.000000"></testcase> 41 <testcase classname="gotest.tools/gotestsum/testjson/internal/good" name="TestParallelTheSecond" time="0.010000"></testcase> 42 </testsuite> 43 <testsuite tests="12" failures="8" time="0.020000" name="gotest.tools/gotestsum/testjson/internal/parallelfails" timestamp="0001-01-01T00:00:00Z"> 44 <properties> 45 <property name="go.version" value="go7.7.7"></property> 46 </properties> 47 <testcase classname="gotest.tools/gotestsum/testjson/internal/parallelfails" name="TestNestedParallelFailures/a" time="0.000000"> 48 <failure message="Failed" type="">=== RUN TestNestedParallelFailures/a
=== PAUSE TestNestedParallelFailures/a
=== CONT TestNestedParallelFailures/a
 fails_test.go:50: failed sub a
 --- FAIL: TestNestedParallelFailures/a (0.00s)
</failure> 49 </testcase> 50 <testcase classname="gotest.tools/gotestsum/testjson/internal/parallelfails" name="TestNestedParallelFailures/d" time="0.000000"> 51 <failure message="Failed" type="">=== RUN TestNestedParallelFailures/d
=== PAUSE TestNestedParallelFailures/d
=== CONT TestNestedParallelFailures/d
 fails_test.go:50: failed sub d
 --- FAIL: TestNestedParallelFailures/d (0.00s)
</failure> 52 </testcase> 53 <testcase classname="gotest.tools/gotestsum/testjson/internal/parallelfails" name="TestNestedParallelFailures/c" time="0.000000"> 54 <failure message="Failed" type="">=== RUN TestNestedParallelFailures/c
=== PAUSE TestNestedParallelFailures/c
=== CONT TestNestedParallelFailures/c
 fails_test.go:50: failed sub c
 --- FAIL: TestNestedParallelFailures/c (0.00s)
</failure> 55 </testcase> 56 <testcase classname="gotest.tools/gotestsum/testjson/internal/parallelfails" name="TestNestedParallelFailures/b" time="0.000000"> 57 <failure message="Failed" type="">=== RUN TestNestedParallelFailures/b
=== PAUSE TestNestedParallelFailures/b
=== CONT TestNestedParallelFailures/b
 fails_test.go:50: failed sub b
 --- FAIL: TestNestedParallelFailures/b (0.00s)
</failure> 58 </testcase> 59 <testcase classname="gotest.tools/gotestsum/testjson/internal/parallelfails" name="TestNestedParallelFailures" time="0.000000"> 60 <failure message="Failed" type="">=== RUN TestNestedParallelFailures
--- FAIL: TestNestedParallelFailures (0.00s)
</failure> 61 </testcase> 62 <testcase classname="gotest.tools/gotestsum/testjson/internal/parallelfails" name="TestParallelTheFirst" time="0.010000"> 63 <failure message="Failed" type="">=== RUN TestParallelTheFirst
=== PAUSE TestParallelTheFirst
=== CONT TestParallelTheFirst
 fails_test.go:29: failed the first
--- FAIL: TestParallelTheFirst (0.01s)
</failure> 64 </testcase> 65 <testcase classname="gotest.tools/gotestsum/testjson/internal/parallelfails" name="TestParallelTheThird" time="0.000000"> 66 <failure message="Failed" type="">=== RUN TestParallelTheThird
=== PAUSE TestParallelTheThird
=== CONT TestParallelTheThird
 fails_test.go:41: failed the third
--- FAIL: TestParallelTheThird (0.00s)
</failure> 67 </testcase> 68 <testcase classname="gotest.tools/gotestsum/testjson/internal/parallelfails" name="TestParallelTheSecond" time="0.010000"> 69 <failure message="Failed" type="">=== RUN TestParallelTheSecond
=== PAUSE TestParallelTheSecond
=== CONT TestParallelTheSecond
 fails_test.go:35: failed the second
--- FAIL: TestParallelTheSecond (0.01s)
</failure> 70 </testcase> 71 <testcase classname="gotest.tools/gotestsum/testjson/internal/parallelfails" name="TestPassed" time="0.000000"></testcase> 72 <testcase classname="gotest.tools/gotestsum/testjson/internal/parallelfails" name="TestPassedWithLog" time="0.000000"></testcase> 73 <testcase classname="gotest.tools/gotestsum/testjson/internal/parallelfails" name="TestPassedWithStdout" time="0.000000"></testcase> 74 <testcase classname="gotest.tools/gotestsum/testjson/internal/parallelfails" name="TestWithStderr" time="0.000000"></testcase> 75 </testsuite> 76 <testsuite tests="29" failures="4" time="0.020000" name="gotest.tools/gotestsum/testjson/internal/withfails" timestamp="0001-01-01T00:00:00Z"> 77 <properties> 78 <property name="go.version" value="go7.7.7"></property> 79 </properties> 80 <testcase classname="gotest.tools/gotestsum/testjson/internal/withfails" name="TestFailed" time="0.000000"> 81 <failure message="Failed" type="">=== RUN TestFailed
 fails_test.go:34: this failed
--- FAIL: TestFailed (0.00s)
</failure> 82 </testcase> 83 <testcase classname="gotest.tools/gotestsum/testjson/internal/withfails" name="TestFailedWithStderr" time="0.000000"> 84 <failure message="Failed" type="">=== RUN TestFailedWithStderr
this is stderr
 fails_test.go:43: also failed
--- FAIL: TestFailedWithStderr (0.00s)
</failure> 85 </testcase> 86 <testcase classname="gotest.tools/gotestsum/testjson/internal/withfails" name="TestNestedWithFailure/c" time="0.000000"> 87 <failure message="Failed" type="">=== RUN TestNestedWithFailure/c
 fails_test.go:65: failed
 --- FAIL: TestNestedWithFailure/c (0.00s)
</failure> 88 </testcase> 89 <testcase classname="gotest.tools/gotestsum/testjson/internal/withfails" name="TestNestedWithFailure" time="0.000000"> 90 <failure message="Failed" type="">=== RUN TestNestedWithFailure
--- FAIL: TestNestedWithFailure (0.00s)
</failure> 91 </testcase> 92 <testcase classname="gotest.tools/gotestsum/testjson/internal/withfails" name="TestSkipped" time="0.000000"> 93 <skipped message="=== RUN TestSkipped
 fails_test.go:26: 
--- SKIP: TestSkipped (0.00s)
"></skipped> 94 </testcase> 95 <testcase classname="gotest.tools/gotestsum/testjson/internal/withfails" name="TestSkippedWitLog" time="0.000000"> 96 <skipped message="=== RUN TestSkippedWitLog
 fails_test.go:30: the skip message
--- SKIP: TestSkippedWitLog (0.00s)
"></skipped> 97 </testcase> 98 <testcase classname="gotest.tools/gotestsum/testjson/internal/withfails" name="TestTimeout" time="0.000000"> 99 <skipped message="=== RUN TestTimeout
 timeout_test.go:13: skipping slow test
--- SKIP: TestTimeout (0.00s)
"></skipped> 100 </testcase> 101 <testcase classname="gotest.tools/gotestsum/testjson/internal/withfails" name="TestPassed" time="0.000000"></testcase> 102 <testcase classname="gotest.tools/gotestsum/testjson/internal/withfails" name="TestPassedWithLog" time="0.000000"></testcase> 103 <testcase classname="gotest.tools/gotestsum/testjson/internal/withfails" name="TestPassedWithStdout" time="0.000000"></testcase> 104 <testcase classname="gotest.tools/gotestsum/testjson/internal/withfails" name="TestWithStderr" time="0.000000"></testcase> 105 <testcase classname="gotest.tools/gotestsum/testjson/internal/withfails" name="TestNestedWithFailure/a/sub" time="0.000000"></testcase> 106 <testcase classname="gotest.tools/gotestsum/testjson/internal/withfails" name="TestNestedWithFailure/a" time="0.000000"></testcase> 107 <testcase classname="gotest.tools/gotestsum/testjson/internal/withfails" name="TestNestedWithFailure/b/sub" time="0.000000"></testcase> 108 <testcase classname="gotest.tools/gotestsum/testjson/internal/withfails" name="TestNestedWithFailure/b" time="0.000000"></testcase> 109 <testcase classname="gotest.tools/gotestsum/testjson/internal/withfails" name="TestNestedWithFailure/d/sub" time="0.000000"></testcase> 110 <testcase classname="gotest.tools/gotestsum/testjson/internal/withfails" name="TestNestedWithFailure/d" time="0.000000"></testcase> 111 <testcase classname="gotest.tools/gotestsum/testjson/internal/withfails" name="TestNestedSuccess/a/sub" time="0.000000"></testcase> 112 <testcase classname="gotest.tools/gotestsum/testjson/internal/withfails" name="TestNestedSuccess/a" time="0.000000"></testcase> 113 <testcase classname="gotest.tools/gotestsum/testjson/internal/withfails" name="TestNestedSuccess/b/sub" time="0.000000"></testcase> 114 <testcase classname="gotest.tools/gotestsum/testjson/internal/withfails" name="TestNestedSuccess/b" time="0.000000"></testcase> 115 <testcase classname="gotest.tools/gotestsum/testjson/internal/withfails" name="TestNestedSuccess/c/sub" time="0.000000"></testcase> 116 <testcase classname="gotest.tools/gotestsum/testjson/internal/withfails" name="TestNestedSuccess/c" time="0.000000"></testcase> 117 <testcase classname="gotest.tools/gotestsum/testjson/internal/withfails" name="TestNestedSuccess/d/sub" time="0.000000"></testcase> 118 <testcase classname="gotest.tools/gotestsum/testjson/internal/withfails" name="TestNestedSuccess/d" time="0.000000"></testcase> 119 <testcase classname="gotest.tools/gotestsum/testjson/internal/withfails" name="TestNestedSuccess" time="0.000000"></testcase> 120 <testcase classname="gotest.tools/gotestsum/testjson/internal/withfails" name="TestParallelTheFirst" time="0.010000"></testcase> 121 <testcase classname="gotest.tools/gotestsum/testjson/internal/withfails" name="TestParallelTheThird" time="0.000000"></testcase> 122 <testcase classname="gotest.tools/gotestsum/testjson/internal/withfails" name="TestParallelTheSecond" time="0.010000"></testcase> 123 </testsuite> 124 </testsuites>