Documentation
¶
Overview ¶
Package lang provides language runtime commands (go, dotnet).
Index ¶
- type Counters
- type ErrorInfo
- type Execution
- type GoTestEvent
- type Output
- type RSpecExample
- type RSpecException
- type RSpecJSON
- type RSpecSummary
- type ResultSum
- type Results
- type RuboCopFile
- type RuboCopJSON
- type RuboCopLocation
- type RuboCopMetadata
- type RuboCopOffense
- type RuboCopSummary
- type RunInfo
- type TestDefs
- type TestMethod
- type TestRun
- type Times
- type UnitTest
- type UnitTestResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Counters ¶ added in v0.28.0
type Counters struct {
Total int `xml:"total,attr"`
Executed int `xml:"executed,attr"`
Passed int `xml:"passed,attr"`
Failed int `xml:"failed,attr"`
Error int `xml:"error,attr"`
Timeout int `xml:"timeout,attr"`
Aborted int `xml:"aborted,attr"`
Inconclusive int `xml:"inconclusive,attr"`
PassedButRunAborted int `xml:"passedButRunAborted,attr"`
NotRunnable int `xml:"notRunnable,attr"`
NotExecuted int `xml:"notExecuted,attr"`
Disconnected int `xml:"disconnected,attr"`
Warning int `xml:"warning,attr"`
Completed int `xml:"completed,attr"`
InProgress int `xml:"inProgress,attr"`
Pending int `xml:"pending,attr"`
}
type GoTestEvent ¶
type RSpecExample ¶
type RSpecException ¶
type RSpecJSON ¶
type RSpecJSON struct {
Version string `json:"version"`
Examples []RSpecExample `json:"examples"`
Summary RSpecSummary `json:"summary"`
}
RSpecJSON represents the JSON output from rspec --format json
type RSpecSummary ¶
type Results ¶ added in v0.28.0
type Results struct {
UnitTestResults []UnitTestResult `xml:"UnitTestResult"`
}
type RuboCopFile ¶
type RuboCopFile struct {
Path string `json:"path"`
Offenses []RuboCopOffense `json:"offenses"`
}
type RuboCopJSON ¶
type RuboCopJSON struct {
Metadata RuboCopMetadata `json:"metadata"`
Files []RuboCopFile `json:"files"`
Summary RuboCopSummary `json:"summary"`
}
RuboCopJSON represents the JSON output from rubocop --format json
type RuboCopLocation ¶
type RuboCopLocation struct {
StartLine int `json:"start_line"`
}
type RuboCopMetadata ¶
type RuboCopMetadata struct {
RuboCopVersion string `json:"rubocop_version"`
}
type RuboCopOffense ¶
type RuboCopOffense struct {
Severity string `json:"severity"`
Message string `json:"message"`
CopName string `json:"cop_name"`
Location RuboCopLocation `json:"location"`
}
type RuboCopSummary ¶
type TestMethod ¶ added in v0.28.0
type TestRun ¶ added in v0.28.0
type TestRun struct {
XMLName xml.Name `xml:"TestRun"`
Id string `xml:"id,attr"`
Name string `xml:"name,attr"`
RunUser string `xml:"runUser,attr"`
Times Times `xml:"Times"`
Results Results `xml:"Results"`
TestDefs TestDefs `xml:"TestDefinitions"`
ResultSum ResultSum `xml:"ResultSummary"`
}
TRX XML structures
type UnitTest ¶ added in v0.28.0
type UnitTest struct {
Id string `xml:"id,attr"`
Name string `xml:"name,attr"`
Storage string `xml:"storage,attr"`
Execution Execution `xml:"Execution"`
TestMethod TestMethod `xml:"TestMethod"`
}
type UnitTestResult ¶ added in v0.28.0
type UnitTestResult struct {
TestId string `xml:"testId,attr"`
TestName string `xml:"testName,attr"`
ComputerName string `xml:"computerName,attr"`
Duration string `xml:"duration,attr"`
StartTime string `xml:"startTime,attr"`
EndTime string `xml:"endTime,attr"`
Outcome string `xml:"outcome,attr"`
Output *Output `xml:"Output"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.