junit

package
v0.186.4 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reporter

type Reporter struct {
	TestResults []report.TestResult
	Filename    string
	// contains filtered or unexported fields
}

Reporter is a junit implementation for report.Reporter.

func (*Reporter) Add

func (r *Reporter) Add(t report.TestResult)

Add adds the test result to the summary.

func (*Reporter) ArtifactRequirements

func (r *Reporter) ArtifactRequirements() []report.ArtifactType

ArtifactRequirements returns a list of artifact types are this reporter requires to create a proper report.

func (*Reporter) Render

func (r *Reporter) Render()

Render renders out a test summary junit report to the destination of Reporter.Filename.

func (*Reporter) Reset

func (r *Reporter) Reset()

Reset resets the reporter to its initial state. This action will delete all test results.

Jump to

Keyboard shortcuts

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