report

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2020 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestReport

type TestReport struct {
	Index    int
	Name     string
	Status   bool
	Err      error
	Duration time.Duration
}

The TestReport holds results of a test case.

func (*TestReport) Passed

func (r *TestReport) Passed() bool

Passed method checks if test result was successful.

func (*TestReport) String

func (r *TestReport) String() string

String method returns the test result as string.

Jump to

Keyboard shortcuts

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