mirror of
https://github.com/jstemmer/go-junit-report.git
synced 2025-04-05 21:18:08 -05:00
Rename names of the first tests
To make sure the output order is preserved.
This commit is contained in:
parent
8176458231
commit
f992d5acaa
@ -29,13 +29,13 @@ var testCases []TestCase = []TestCase{
|
|||||||
Time: 160,
|
Time: 160,
|
||||||
Tests: []Test{
|
Tests: []Test{
|
||||||
{
|
{
|
||||||
Name: "TestOne",
|
Name: "TestZ",
|
||||||
Time: 60,
|
Time: 60,
|
||||||
Result: PASS,
|
Result: PASS,
|
||||||
Output: []string{},
|
Output: []string{},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "TestTwo",
|
Name: "TestA",
|
||||||
Time: 100,
|
Time: 100,
|
||||||
Result: PASS,
|
Result: PASS,
|
||||||
Output: []string{},
|
Output: []string{},
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
=== RUN TestOne
|
=== RUN TestZ
|
||||||
--- PASS: TestOne (0.06 seconds)
|
--- PASS: TestZ (0.06 seconds)
|
||||||
=== RUN TestTwo
|
=== RUN TestA
|
||||||
--- PASS: TestTwo (0.10 seconds)
|
--- PASS: TestA (0.10 seconds)
|
||||||
PASS
|
PASS
|
||||||
ok package/name 0.160s
|
ok package/name 0.160s
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<properties>
|
<properties>
|
||||||
<property name="go.version" value="1.0"></property>
|
<property name="go.version" value="1.0"></property>
|
||||||
</properties>
|
</properties>
|
||||||
<testcase classname="name" name="TestOne" time="0.060"></testcase>
|
<testcase classname="name" name="TestZ" time="0.060"></testcase>
|
||||||
<testcase classname="name" name="TestTwo" time="0.100"></testcase>
|
<testcase classname="name" name="TestA" time="0.100"></testcase>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
</testsuites>
|
</testsuites>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user