reporters

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeserialiseReport

func DeserialiseReport(filename string) (*jsonReporter, error)

func NewJSONReporter

func NewJSONReporter(filename, platform, version string) *jsonReporter

Types

type Reporter

type Reporter interface {
	ReportTest(string, []string, testresult.TestResult, time.Duration, []byte)
	Output(string) error
	SetResult(testresult.TestResult)
}

type Reporters

type Reporters []Reporter

func (Reporters) Output

func (reps Reporters) Output(path string) error

func (Reporters) ReportTest

func (reps Reporters) ReportTest(name string, subtests []string, result testresult.TestResult, duration time.Duration, b []byte)

func (Reporters) SetResult

func (reps Reporters) SetResult(s testresult.TestResult)

Jump to

Keyboard shortcuts

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