Documentation ¶
Index ¶
- func MonitorState(state *core.BuildState, numThreads int, ...) bool
- func PrintConnectionMessage(url string, targets []core.BuildLabel, tests, coverage bool)
- func PrintCoverage(state *core.BuildState, includeFiles []string)
- func PrintDisconnectionMessage(success, closed, disconnected bool)
- func PrintLineCoverageReport(state *core.BuildState, includeFiles []string)
- func SetColouredOutput(on bool)
- func SetWindowTitle(title string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MonitorState ¶
func MonitorState(state *core.BuildState, numThreads int, plainOutput, keepGoing, shouldBuild, shouldTest, shouldRun, showStatus, detailedTests bool, traceFile string) bool
MonitorState monitors the build while it's running (essentially until state.TestCases is closed) and prints output while it's happening.
func PrintConnectionMessage ¶
func PrintConnectionMessage(url string, targets []core.BuildLabel, tests, coverage bool)
PrintConnectionMessage prints the message when we're initially connected to a remote server.
func PrintCoverage ¶
func PrintCoverage(state *core.BuildState, includeFiles []string)
PrintCoverage writes out coverage metrics after a test run in a file tree setup. Only files that were covered by tests and not excluded are shown.
func PrintDisconnectionMessage ¶
func PrintDisconnectionMessage(success, closed, disconnected bool)
PrintDisconnectionMessage prints the message when we're disconnected from the remote server.
func PrintLineCoverageReport ¶
func PrintLineCoverageReport(state *core.BuildState, includeFiles []string)
PrintLineCoverageReport writes out line-by-line coverage metrics after a test run.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.