testflow

package
v0.0.0-...-1c4572a Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2018 License: BSD-2-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitFlowConfig

func InitFlowConfig(conf string, log string)

func StartAutoTest

func StartAutoTest() bool

Types

type TestCaseConfig

type TestCaseConfig struct {
	CliCommand      string         `toml:"cliCmd"`
	CheckTimeout    int            `toml:"checkTimeout"`
	TestCaseFileArr []TestCaseFile `toml:"TestCaseFile"`
}

type TestCaseFile

type TestCaseFile struct {
	Dapp     string `toml:"dapp"`
	Filename string `toml:"filename"`
}

type TestOperator

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

func NewTestOperator

func NewTestOperator(stdLog log15.Logger, fileLog log15.Logger, dapp string) (tester *TestOperator)

func (*TestOperator) AddCaseArray

func (tester *TestOperator) AddCaseArray(caseArrayList ...interface{})

func (*TestOperator) HandleDependency

func (tester *TestOperator) HandleDependency()

func (*TestOperator) RunCheckFlow

func (tester *TestOperator) RunCheckFlow()

func (*TestOperator) RunSendFlow

func (tester *TestOperator) RunSendFlow()

func (*TestOperator) WaitTest

func (tester *TestOperator) WaitTest() *autoTestResult

type TestRunner

type TestRunner interface {
	RunTest(tomlFile string, wg *sync.WaitGroup)
}

Jump to

Keyboard shortcuts

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