Add support for cached tests

This commit is contained in:
Joël Stemmer
2018-04-21 14:20:26 +01:00
parent 6a7ce5ecd4
commit 6e1ccef4d8
4 changed files with 34 additions and 1 deletions

4
testdata/21-cached.txt vendored Normal file
View File

@ -0,0 +1,4 @@
=== RUN TestOne
--- PASS: TestOne (0.00s)
PASS
ok package/one (cached)

9
testdata/21-report.xml vendored Normal file
View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite tests="1" failures="0" time="0.000" name="package/one">
<properties>
<property name="go.version" value="1.0"></property>
</properties>
<testcase classname="one" name="TestOne" time="0.000"></testcase>
</testsuite>
</testsuites>