output

package
v13.2.7+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2018 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

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.

func SetColouredOutput

func SetColouredOutput(on bool)

SetColouredOutput forces on or off coloured output in logging and other console output.

func SetWindowTitle

func SetWindowTitle(title string)

SetWindowTitle sets the title of the current shell window.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL