Documentation

Index

Constants

View Source
const (
	Idle      = "idle"
	Executing = "executing"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ConcurrentTester

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

func NewConcurrentTester

func NewConcurrentTester(shell contract.Shell) *ConcurrentTester

func (*ConcurrentTester) SetBatchSize

func (self *ConcurrentTester) SetBatchSize(batchSize int)

func (*ConcurrentTester) TestAll

func (self *ConcurrentTester) TestAll(folders []*contract.Package)

type Executor

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

func NewExecutor

func NewExecutor(tester Tester, parser Parser, ch chan chan string) *Executor

func (*Executor) ClearStatusFlag

func (self *Executor) ClearStatusFlag() bool

func (*Executor) ExecuteTests

func (self *Executor) ExecuteTests(folders []*contract.Package) *contract.CompleteOutput

func (*Executor) Status

func (self *Executor) Status() string

type Parser

type Parser interface {
	Parse([]*contract.Package)
}

type Tester

type Tester interface {
	SetBatchSize(batchSize int)
	TestAll(folders []*contract.Package)
}