gojunitreport

package
v2.0.0-...-e9c7f1d Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Parser           string
	Hostname         string
	PackageName      string
	SkipXMLHeader    bool
	SubtestMode      gotest.SubtestMode
	Properties       map[string]string
	TimestampFunc    func() time.Time
	RequiredCoverage float64
	UnitConfigs      map[string]*gtr.UnitCfg
	// For debugging
	PrintEvents bool
}

Config contains the go-junit-report command configuration.

func (Config) Run

func (c Config) Run(input io.Reader, output io.Writer) (*gtr.Report, error)

Run runs the go-junit-report command and returns the generated report.

Jump to

Keyboard shortcuts

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