collector

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFile

func CreateFile(p string) (*os.File, error)

func DumpStaticPageToDir

func DumpStaticPageToDir(box *packr.Box, folder string) error

func IsFileExists

func IsFileExists(filename string) bool

func ReadFromScanner

func ReadFromScanner(parser parser.TestResultParser, scanner *bufio.Scanner, logToOutput, verbose bool)

Types

type ResultCollector

type ResultCollector struct {
	sync.Mutex
	TestResult []models.TestResult
	// contains filtered or unexported fields
}

ResultCollector collects the test result and store inside

func NewResultCollector

func NewResultCollector(reportSucceeded bool) *ResultCollector

func (*ResultCollector) CollectTestResult

func (l *ResultCollector) CollectTestResult(result models.TestResult)

func (*ResultCollector) HasAnyTest

func (l *ResultCollector) HasAnyTest() bool

Jump to

Keyboard shortcuts

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