reporter

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const SEPARATOR_CHAR = "="

Variables

This section is empty.

Functions

This section is empty.

Types

type TestReporter

type TestReporter struct {
	// contains filtered or unexported fields
}

func NewTestReporter

func NewTestReporter(testManager *testmgr.StormTestManager) *TestReporter

func (*TestReporter) ExitError

func (tr *TestReporter) ExitError() error

func (*TestReporter) PrintReport

func (tr *TestReporter) PrintReport()

func (*TestReporter) ProduceJUnitXML added in v0.2.0

func (tr *TestReporter) ProduceJUnitXML(filename string) error

func (*TestReporter) SaveLogs

func (tr *TestReporter) SaveLogs(dir string) error

func (*TestReporter) Summary

func (tr *TestReporter) Summary() TestSummary

type TestSummary

type TestSummary struct {
	// contains filtered or unexported fields
}

func (TestSummary) Status

func (s TestSummary) Status() TestSummaryStatus

func (TestSummary) Summary

func (s TestSummary) Summary() string

type TestSummaryStatus

type TestSummaryStatus int
const (
	TestStatusOk TestSummaryStatus = iota
	TestStatusFailed
	TestStatusError
)

func (TestSummaryStatus) IsBad

func (ts TestSummaryStatus) IsBad() bool

func (TestSummaryStatus) String

func (ts TestSummaryStatus) String() string

func (TestSummaryStatus) StringColor

func (ts TestSummaryStatus) StringColor() string

Jump to

Keyboard shortcuts

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