mirror of
https://github.com/jstemmer/go-junit-report.git
synced 2025-04-05 05:00:15 -05:00
parent
2ece8eae1a
commit
fc0a210dc9
@ -34,13 +34,13 @@ func (t *Testsuites) AddSuite(ts Testsuite) {
|
|||||||
// Testsuite is a single JUnit testsuite containing testcases.
|
// Testsuite is a single JUnit testsuite containing testcases.
|
||||||
type Testsuite struct {
|
type Testsuite struct {
|
||||||
// required attributes
|
// required attributes
|
||||||
Name string `xml:"name,attr"`
|
Name string `xml:"name,attr"`
|
||||||
Tests int `xml:"tests,attr"`
|
Tests int `xml:"tests,attr"`
|
||||||
|
Failures int `xml:"failures,attr"`
|
||||||
|
Errors int `xml:"errors,attr"`
|
||||||
|
|
||||||
// optional attributes
|
// optional attributes
|
||||||
Disabled int `xml:"disabled,attr,omitempty"`
|
Disabled int `xml:"disabled,attr,omitempty"`
|
||||||
Errors int `xml:"errors,attr"`
|
|
||||||
Failures int `xml:"failures,attr"`
|
|
||||||
Hostname string `xml:"hostname,attr,omitempty"`
|
Hostname string `xml:"hostname,attr,omitempty"`
|
||||||
ID int `xml:"id,attr,omitempty"`
|
ID int `xml:"id,attr,omitempty"`
|
||||||
Package string `xml:"package,attr,omitempty"`
|
Package string `xml:"package,attr,omitempty"`
|
||||||
|
2
testdata/01-report.xml
vendored
2
testdata/01-report.xml
vendored
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<testsuites tests="2">
|
<testsuites tests="2">
|
||||||
<testsuite tests="2" failures="0" time="0.160" name="package/name" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="2" failures="0" errors="0" time="0.160" name="package/name" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
|
2
testdata/02-report.xml
vendored
2
testdata/02-report.xml
vendored
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<testsuites tests="2" failures="1">
|
<testsuites tests="2" failures="1">
|
||||||
<testsuite tests="2" failures="1" time="0.151" name="package/name" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="2" failures="1" errors="0" time="0.151" name="package/name" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
|
2
testdata/03-report.xml
vendored
2
testdata/03-report.xml
vendored
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<testsuites tests="2">
|
<testsuites tests="2">
|
||||||
<testsuite tests="2" failures="0" time="0.150" name="package/name" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="2" failures="0" errors="0" time="0.150" name="package/name" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
|
2
testdata/04-report.xml
vendored
2
testdata/04-report.xml
vendored
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<testsuites tests="2">
|
<testsuites tests="2">
|
||||||
<testsuite tests="2" failures="0" time="0.160" name="package/name" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="2" failures="0" errors="0" time="0.160" name="package/name" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
|
2
testdata/05-report.xml
vendored
2
testdata/05-report.xml
vendored
@ -1,5 +1,5 @@
|
|||||||
<testsuites tests="2">
|
<testsuites tests="2">
|
||||||
<testsuite tests="2" failures="0" time="0.160" name="package/name" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="2" failures="0" errors="0" time="0.160" name="package/name" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
|
4
testdata/06-report.xml
vendored
4
testdata/06-report.xml
vendored
@ -1,12 +1,12 @@
|
|||||||
<testsuites tests="4" failures="1">
|
<testsuites tests="4" failures="1">
|
||||||
<testsuite tests="2" failures="0" time="0.160" name="package/name1" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="2" failures="0" errors="0" time="0.160" name="package/name1" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
<testcase classname="name1" name="TestOne" time="0.060"></testcase>
|
<testcase classname="name1" name="TestOne" time="0.060"></testcase>
|
||||||
<testcase classname="name1" name="TestTwo" time="0.100"></testcase>
|
<testcase classname="name1" name="TestTwo" time="0.100"></testcase>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
<testsuite tests="2" failures="1" time="0.151" name="package/name2">
|
<testsuite tests="2" failures="1" errors="0" time="0.151" name="package/name2" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
|
2
testdata/07-report.xml
vendored
2
testdata/07-report.xml
vendored
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<testsuites tests="2">
|
<testsuites tests="2">
|
||||||
<testsuite tests="2" failures="0" time="0.160" name="test/package" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="2" failures="0" errors="0" time="0.160" name="test/package" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
|
2
testdata/08-report.xml
vendored
2
testdata/08-report.xml
vendored
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<testsuites tests="2">
|
<testsuites tests="2">
|
||||||
<testsuite tests="2" failures="0" time="0.440" name="package/name" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="2" failures="0" errors="0" time="0.440" name="package/name" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
|
2
testdata/09-report.xml
vendored
2
testdata/09-report.xml
vendored
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<testsuites tests="2">
|
<testsuites tests="2">
|
||||||
<testsuite tests="2" failures="0" time="0.160" name="package/name" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="2" failures="0" errors="0" time="0.160" name="package/name" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
<property name="coverage.statements.pct" value="13.37"></property>
|
<property name="coverage.statements.pct" value="13.37"></property>
|
||||||
|
4
testdata/10-report.xml
vendored
4
testdata/10-report.xml
vendored
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<testsuites tests="3">
|
<testsuites tests="3">
|
||||||
<testsuite tests="2" failures="0" time="0.400" name="package1/foo" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="2" failures="0" errors="0" time="0.400" name="package1/foo" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
<property name="coverage.statements.pct" value="10.00"></property>
|
<property name="coverage.statements.pct" value="10.00"></property>
|
||||||
@ -8,7 +8,7 @@
|
|||||||
<testcase classname="foo" name="TestA" time="0.100"></testcase>
|
<testcase classname="foo" name="TestA" time="0.100"></testcase>
|
||||||
<testcase classname="foo" name="TestB" time="0.300"></testcase>
|
<testcase classname="foo" name="TestB" time="0.300"></testcase>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
<testsuite tests="1" failures="0" time="4.200" name="package2/bar">
|
<testsuite tests="1" failures="0" errors="0" time="4.200" name="package2/bar" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
<property name="coverage.statements.pct" value="99.80"></property>
|
<property name="coverage.statements.pct" value="99.80"></property>
|
||||||
|
2
testdata/11-report.xml
vendored
2
testdata/11-report.xml
vendored
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<testsuites tests="2">
|
<testsuites tests="2">
|
||||||
<testsuite tests="2" failures="0" time="0.050" name="package/name" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="2" failures="0" errors="0" time="0.050" name="package/name" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
|
4
testdata/12-report.xml
vendored
4
testdata/12-report.xml
vendored
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<testsuites tests="18" failures="3" skipped="2">
|
<testsuites tests="18" failures="3">
|
||||||
<testsuite tests="18" failures="3" time="0.050" name="package/name" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="18" failures="3" errors="0" skipped="0" time="0.050" name="package/name" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
|
12
testdata/13-report.xml
vendored
12
testdata/13-report.xml
vendored
@ -1,18 +1,18 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<testsuites tests="5" errors="3">
|
<testsuites tests="5" failures="3">
|
||||||
<testsuite tests="1" failures="0" time="0.100" name="package/name/passing1" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="1" failures="0" errors="0" time="0.100" name="package/name/passing1" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
<testcase classname="passing1" name="TestA" time="0.100"></testcase>
|
<testcase classname="passing1" name="TestA" time="0.100"></testcase>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
<testsuite tests="1" failures="0" time="0.100" name="package/name/passing2" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="1" failures="0" errors="0" time="0.100" name="package/name/passing2" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
<testcase classname="passing2" name="TestB" time="0.100"></testcase>
|
<testcase classname="passing2" name="TestB" time="0.100"></testcase>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
<testsuite tests="1" failures="1" time="0.000" name="package/name/failing1" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="1" failures="1" errors="0" time="0.000" name="package/name/failing1" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
@ -20,7 +20,7 @@
|
|||||||
<failure message="Failed" type="">failing1/failing_test.go:15: undefined: x</failure>
|
<failure message="Failed" type="">failing1/failing_test.go:15: undefined: x</failure>
|
||||||
</testcase>
|
</testcase>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
<testsuite tests="1" failures="1" time="0.000" name="package/name/failing2" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="1" failures="1" errors="0" time="0.000" name="package/name/failing2" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
@ -28,7 +28,7 @@
|
|||||||
<failure message="Failed" type="">failing2/another_failing_test.go:20: undefined: y</failure>
|
<failure message="Failed" type="">failing2/another_failing_test.go:20: undefined: y</failure>
|
||||||
</testcase>
|
</testcase>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
<testsuite tests="1" failures="1" time="0.000" name="package/name/setupfailing1" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="1" failures="1" errors="0" time="0.000" name="package/name/setupfailing1" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
|
6
testdata/14-report.xml
vendored
6
testdata/14-report.xml
vendored
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<testsuites tests="2" errors="2">
|
<testsuites tests="2" failures="2">
|
||||||
<testsuite tests="1" failures="1" time="0.003" name="package/panic" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="1" failures="1" errors="0" time="0.003" name="package/panic" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
@ -8,7 +8,7 @@
|
|||||||
<failure message="Failed" type="">panic: init
stacktrace</failure>
|
<failure message="Failed" type="">panic: init
stacktrace</failure>
|
||||||
</testcase>
|
</testcase>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
<testsuite tests="1" failures="1" time="0.003" name="package/panic2" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="1" failures="1" errors="0" time="0.003" name="package/panic2" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
|
2
testdata/15-report.xml
vendored
2
testdata/15-report.xml
vendored
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite tests="0" failures="0" time="0.001" name="package/empty" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="0" failures="0" errors="0" time="0.001" name="package/empty" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
|
2
testdata/16-report.xml
vendored
2
testdata/16-report.xml
vendored
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<testsuites tests="3">
|
<testsuites tests="3">
|
||||||
<testsuite tests="3" failures="0" time="0.001" name="package/repeated-names" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="3" failures="0" errors="0" time="0.001" name="package/repeated-names" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
|
2
testdata/17-report.xml
vendored
2
testdata/17-report.xml
vendored
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<testsuites tests="1" failures="1">
|
<testsuites tests="1" failures="1">
|
||||||
<testsuite tests="1" failures="1" time="0.015" name="race_test" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="1" failures="1" errors="0" time="0.015" name="race_test" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
|
4
testdata/18-report.xml
vendored
4
testdata/18-report.xml
vendored
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<testsuites tests="3">
|
<testsuites tests="3">
|
||||||
<testsuite tests="2" failures="0" time="0.400" name="package1/foo" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="2" failures="0" errors="0" time="0.400" name="package1/foo" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
<property name="coverage.statements.pct" value="10.00"></property>
|
<property name="coverage.statements.pct" value="10.00"></property>
|
||||||
@ -8,7 +8,7 @@
|
|||||||
<testcase classname="foo" name="TestA" time="0.100"></testcase>
|
<testcase classname="foo" name="TestA" time="0.100"></testcase>
|
||||||
<testcase classname="foo" name="TestB" time="0.300"></testcase>
|
<testcase classname="foo" name="TestB" time="0.300"></testcase>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
<testsuite tests="1" failures="0" time="4.200" name="package2/bar" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="1" failures="0" errors="0" time="4.200" name="package2/bar" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
<property name="coverage.statements.pct" value="99.80"></property>
|
<property name="coverage.statements.pct" value="99.80"></property>
|
||||||
|
2
testdata/19-report.xml
vendored
2
testdata/19-report.xml
vendored
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<testsuites tests="2">
|
<testsuites tests="2">
|
||||||
<testsuite tests="2" failures="0" time="0.160" name="package/name" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="2" failures="0" errors="0" time="0.160" name="package/name" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
|
2
testdata/20-report.xml
vendored
2
testdata/20-report.xml
vendored
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<testsuites tests="3" failures="3">
|
<testsuites tests="3" failures="3">
|
||||||
<testsuite tests="3" failures="3" time="3.010" name="pkg/parallel" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="3" failures="3" errors="0" time="3.010" name="pkg/parallel" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
|
2
testdata/21-report.xml
vendored
2
testdata/21-report.xml
vendored
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<testsuites tests="1">
|
<testsuites tests="1">
|
||||||
<testsuite tests="1" failures="0" time="0.000" name="package/one" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="1" failures="0" errors="0" time="0.000" name="package/one" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
|
2
testdata/22-report.xml
vendored
2
testdata/22-report.xml
vendored
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<testsuites tests="2">
|
<testsuites tests="2">
|
||||||
<testsuite tests="2" failures="0" time="3.212" name="package/basic" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="2" failures="0" errors="0" time="3.212" name="package/basic" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
|
2
testdata/23-report.xml
vendored
2
testdata/23-report.xml
vendored
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<testsuites tests="2">
|
<testsuites tests="2">
|
||||||
<testsuite tests="2" failures="0" time="9.415" name="package/one" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="2" failures="0" errors="0" time="9.415" name="package/one" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
|
2
testdata/24-report.xml
vendored
2
testdata/24-report.xml
vendored
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<testsuites tests="6">
|
<testsuites tests="6">
|
||||||
<testsuite tests="6" failures="0" time="1.382" name="package3/baz" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="6" failures="0" errors="0" time="1.382" name="package3/baz" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
|
2
testdata/25-report.xml
vendored
2
testdata/25-report.xml
vendored
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<testsuites tests="2">
|
<testsuites tests="2">
|
||||||
<testsuite tests="2" failures="0" time="14.211" name="pkg/count" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="2" failures="0" errors="0" time="14.211" name="pkg/count" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
|
4
testdata/26-report.xml
vendored
4
testdata/26-report.xml
vendored
@ -1,13 +1,13 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<testsuites tests="6">
|
<testsuites tests="6">
|
||||||
<testsuite tests="2" failures="0" time="7.267" name="mycode/common" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="2" failures="0" errors="0" time="7.267" name="mycode/common" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
<testcase classname="common" name="BenchmarkParse" time="0.000001591"></testcase>
|
<testcase classname="common" name="BenchmarkParse" time="0.000001591"></testcase>
|
||||||
<testcase classname="common" name="BenchmarkNewTask" time="0.000000391"></testcase>
|
<testcase classname="common" name="BenchmarkNewTask" time="0.000000391"></testcase>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
<testsuite tests="4" failures="0" time="47.084" name="mycode/benchmarks/channels" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="4" failures="0" errors="0" time="47.084" name="mycode/benchmarks/channels" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
|
2
testdata/27-report.xml
vendored
2
testdata/27-report.xml
vendored
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<testsuites tests="3">
|
<testsuites tests="3">
|
||||||
<testsuite tests="3" failures="0" time="4.344" name="really/small" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="3" failures="0" errors="0" time="4.344" name="really/small" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
|
2
testdata/28-report.xml
vendored
2
testdata/28-report.xml
vendored
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<testsuites tests="1">
|
<testsuites tests="1">
|
||||||
<testsuite tests="1" failures="0" time="9.467" name="single/cpu" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="1" failures="0" errors="0" time="9.467" name="single/cpu" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
|
2
testdata/29-report.xml
vendored
2
testdata/29-report.xml
vendored
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<testsuites tests="1">
|
<testsuites tests="1">
|
||||||
<testsuite tests="1" failures="0" time="1.522" name="sixteen/cpu" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="1" failures="0" errors="0" time="1.522" name="sixteen/cpu" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
|
2
testdata/30-report.xml
vendored
2
testdata/30-report.xml
vendored
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<testsuites tests="17" failures="9">
|
<testsuites tests="17" failures="9">
|
||||||
<testsuite tests="17" failures="9" time="4.567" name="package/name1" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="17" failures="9" errors="0" time="4.567" name="package/name1" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
|
12
testdata/31-report.xml
vendored
12
testdata/31-report.xml
vendored
@ -1,18 +1,18 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<testsuites tests="5" errors="3">
|
<testsuites tests="5" failures="3">
|
||||||
<testsuite tests="1" failures="0" time="0.100" name="package/name/passing1" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="1" failures="0" errors="0" time="0.100" name="package/name/passing1" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
<testcase classname="passing1" name="TestA" time="0.100"></testcase>
|
<testcase classname="passing1" name="TestA" time="0.100"></testcase>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
<testsuite tests="1" failures="0" time="0.100" name="package/name/passing2" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="1" failures="0" errors="0" time="0.100" name="package/name/passing2" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
<testcase classname="passing2" name="TestB" time="0.100"></testcase>
|
<testcase classname="passing2" name="TestB" time="0.100"></testcase>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
<testsuite tests="1" failures="1" time="0.000" name="package/name/failing1" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="1" failures="1" errors="0" time="0.000" name="package/name/failing1" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
@ -20,7 +20,7 @@
|
|||||||
<failure message="Failed" type="">failing1/failing_test.go:15: undefined: x</failure>
|
<failure message="Failed" type="">failing1/failing_test.go:15: undefined: x</failure>
|
||||||
</testcase>
|
</testcase>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
<testsuite tests="1" failures="1" time="0.000" name="package/name/failing2" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="1" failures="1" errors="0" time="0.000" name="package/name/failing2" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
@ -28,7 +28,7 @@
|
|||||||
<failure message="Failed" type="">failing2/another_failing_test.go:20: undefined: y</failure>
|
<failure message="Failed" type="">failing2/another_failing_test.go:20: undefined: y</failure>
|
||||||
</testcase>
|
</testcase>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
<testsuite tests="1" failures="1" time="0.000" name="package/name/setupfailing1" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="1" failures="1" errors="0" time="0.000" name="package/name/setupfailing1" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
|
4
testdata/32-report.xml
vendored
4
testdata/32-report.xml
vendored
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<testsuites tests="2" errors="1">
|
<testsuites tests="2" failures="1">
|
||||||
<testsuite tests="2" failures="1" time="0.005" name="github.com/jstemmer/test/failedsummary" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="2" failures="1" errors="0" time="0.005" name="github.com/jstemmer/test/failedsummary" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
|
2
testdata/33-report.xml
vendored
2
testdata/33-report.xml
vendored
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<testsuites tests="2">
|
<testsuites tests="2">
|
||||||
<testsuite tests="2" failures="0" time="83.202" name="compress/flate" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
<testsuite tests="2" failures="0" errors="0" time="83.202" name="compress/flate" hostname="hostname" timestamp="2022-01-01T00:00:00Z">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user