package
Version:
v0.0.0-...-3be20e2
Opens a new window with list of versions in this module.
Published: Sep 5, 2017
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
PASS = "pass"
FAIL = "fail"
SKIP = "skip"
)
type Error struct {
Message string `xml:"message,attr"`
}
type ResultXML struct {
XMLName xml.Name `xml:"testsuites"`
TestSuite *TestSuite `xml:"testsuite"`
}
type Test struct {
TestName string `json:"test_name"`
Time int `json:"time"`
Output string `json:"output"`
Status string
}
type TestCase struct {
Duration int `xml:"duration,int64"`
Error *Error `xml:"error"`
}
type TestSuite struct {
Name string `xml:"name,attr"`
TestCase *TestCase `xml:"testcase"`
Output string `xml:"system-out"`
}
type TestSummary struct {
TotalTests int `json:"total_tests"`
BuildErrors string `json:"build_errors"`
Results Results `json:"results"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.