mirror of
https://github.com/jstemmer/go-junit-report.git
synced 2025-07-18 19:41:00 -05:00
Add test for skipped testcases
This commit is contained in:
10
tests/03-report.xml
Normal file
10
tests/03-report.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<testsuite tests="2" failures="0" time="0.150" name="package/name">
|
||||
<properties>
|
||||
<property name="go.version" value="1.0"></property>
|
||||
</properties>
|
||||
<testcase classname="name" name="TestOne" time="0.020">
|
||||
<skipped message="file_test.go:11: Skip message"></skipped>
|
||||
</testcase>
|
||||
<testcase classname="name" name="TestTwo" time="0.130"></testcase>
|
||||
</testsuite>
|
7
tests/03-skip.txt
Normal file
7
tests/03-skip.txt
Normal file
@ -0,0 +1,7 @@
|
||||
=== RUN TestOne
|
||||
--- SKIP: TestOne (0.02 seconds)
|
||||
file_test.go:11: Skip message
|
||||
=== RUN TestTwo
|
||||
--- PASS: TestTwo (0.13 seconds)
|
||||
PASS
|
||||
ok package/name 0.150s
|
Reference in New Issue
Block a user