package
4.1.0+incompatible
Repository: https://github.com/openshift/origin.git
Documentation: pkg.go.dev
# Functions
ExtractDuration extracts the package duration from a test output line.
ExtractOutput captures a line of output indented by whitespace and returns the output, the indentation depth (4 spaces is the canonical indentation used by go test), and whether the match was successful.
ExtractPackage extracts the name of the test suite from a test package line.
ExtractProperties extracts any metadata properties of the test suite from a test output line.
ExtractResult extracts the test result from a test output line.
ExtractRun identifies the start of a test output section.
NewParser returns a new parser that's capable of parsing Go unit test output.