# Functions
GetBenchmarkData is a helper function that returns the benchmark contained in the data field of the given gtr.Test t.
NewJSONParser returns a new Go test json output parser.
NewParser returns a new Go test output parser.
PackageName is an Option that sets the default package name to use when it cannot be determined from the test output.
ParseSubtestMode returns a SubtestMode for the given string.
SetBenchmarkData is a helper function that writes the benchmark b to the data field of the given gtr.Test t.
SetSubtestMode is an Option to change how the parser handles tests with subtests.
TimestampFunc is an Option that sets the timestamp function that is used to determine the current time when creating the Report.
# Constants
ExcludeParents excludes tests that contain subtests from the report.
IgnoreParentResults ignores test results for tests with subtests.
SubtestModeDefault is the default subtest mode.
# Structs
Benchmark contains benchmark results and is intended to be used as extra data in a gtr.Test.
Event is a single event in a Go test or benchmark.
JSONParser is a `go test -json` output Parser.
Parser is a Go test output Parser.
# Type aliases
Option defines options that can be passed to gotest.New.
SubtestMode configures how Go subtests should be handled by the parser.