json

package
v0.0.0-...-7c2491a Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoPackage

type GoPackage string

func (*GoPackage) String

func (p *GoPackage) String() string

func (*GoPackage) UnmarshalJSON

func (p *GoPackage) UnmarshalJSON(bytes []byte) error

type Report

type Report struct {
	Time    time.Time
	Action  TestAction
	Package GoPackage
	Test    string
	Output  string
	Elapsed float64
}

func ParseReportJson

func ParseReportJson(filePath string) ([]Report, error)

type TestAction

type TestAction string
const (
	Run    TestAction = "run"
	Output TestAction = "output"
	Pass   TestAction = "pass"
	Skip   TestAction = "skip"
	Fail   TestAction = "fail"
)

func (TestAction) String

func (ta TestAction) String() string

Jump to

Keyboard shortcuts

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