executor

package
v0.50.1 Latest Latest
Warning

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

Go to latest
Published: May 1, 2019 License: MIT Imports: 22 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConstructTcInfosWithDt

func ConstructTcInfosWithDt(jsonFile string, csvFileList []string) []*testcase.TestCaseDataInfo

not using "text/template"

func ConstructTcInfosWithoutDt

func ConstructTcInfosWithoutDt(jsonFile string) []*testcase.TestCaseDataInfo

func Dispatch

func Dispatch(ch chan int, gStart_time time.Time, gStart_str string)

func GenerateInputsFileWithConsolidatedData

func GenerateInputsFileWithConsolidatedData(filePath string, inputsInfos []string) []string

to apply the csv operator: union, join, append for inputs files

func GetBaseUrl

func GetBaseUrl(opt cmd.Options) string

func GetBasicInputsFilesPerFile

func GetBasicInputsFilesPerFile(filePath string) []string

func GetBasicInputsInfos

func GetBasicInputsInfos(filePath string) [][]string

func GetCsvDataFilesForJsonFile

func GetCsvDataFilesForJsonFile(jsonFile string, suffix string) []string

func GetFuzzTcArray

func GetFuzzTcArray() []testcase.TestCaseDataInfo

func GetOriginMutationTcArray

func GetOriginMutationTcArray() []testcase.TestCaseDataInfo

func GetPrioritySet

func GetPrioritySet(tcArray []*testcase.TestCaseDataInfo) []string

func GetTcNameSet

func GetTcNameSet(tcArray []*testcase.TestCaseDataInfo) []string

func IfCaseNameDuplicated

func IfCaseNameDuplicated(tcInfos []*testcase.TestCaseDataInfo) bool

func InitFullTcSlice

func InitFullTcSlice() []*testcase.TestCaseDataInfo

func InitGlobalSetUpTcSlice

func InitGlobalSetUpTcSlice(fullTcSlice []*testcase.TestCaseDataInfo) []*testcase.TestCaseDataInfo

func InitGlobalTeardownTcSlice

func InitGlobalTeardownTcSlice(fullTcSlice []*testcase.TestCaseDataInfo) []*testcase.TestCaseDataInfo

func InitNormalTcSlice

func InitNormalTcSlice(fullTcSlice []*testcase.TestCaseDataInfo) []*testcase.TestCaseDataInfo

func MkResultsDir

func MkResultsDir(gStart_str string, opt cmd.Options) string

func ScheduleCases

func ScheduleCases(cReady chan *tree.TcNode, wg *sync.WaitGroup, resultsChan chan testcase.TestCaseExecutionInfo, baseUrl string)

func SortPrioritySet

func SortPrioritySet(prioritySet []string) []string

func WarmUpDBConnection

func WarmUpDBConnection()

func WarmUpRedisConnection

func WarmUpRedisConnection()

func WriteNotNotExecutedToLog

func WriteNotNotExecutedToLog(priority string, logFilePtr *os.File, tcTreeStats tree.TcTreeStats)

Types

type G4Store

type G4Store struct {
	OverallFail            int
	FullTcSlice            []*testcase.TestCaseDataInfo
	GlobalSetUpRunStore    *TcsRunStore
	NormalRunStore         *TcsRunStore
	GlobalTeardownRunStore *TcsRunStore
}

func InitG4Store

func InitG4Store() *G4Store

func (*G4Store) RunFinalConsoleReport

func (g4Store *G4Store) RunFinalConsoleReport()

func (*G4Store) RunFinalReport

func (g4Store *G4Store) RunFinalReport(ch chan int, gStart_str string, resultsDir string, resultsLogFile string)

type TcsRunStore

type TcsRunStore struct {
	TcSlice []*testcase.TestCaseDataInfo

	PrioritySet []string
	Root        *tree.TcNode
	TcTree      tree.TcTree
	TcTreeStats tree.TcTreeStats
	OverallFail int
}

func (*TcsRunStore) InitRun

func (tcsRunStore *TcsRunStore) InitRun()

func (*TcsRunStore) RunConsoleOverallReport

func (tcsRunStore *TcsRunStore) RunConsoleOverallReport()

func (*TcsRunStore) RunEachPriority

func (tcsRunStore *TcsRunStore) RunEachPriority(baseUrl string, priority string, logFilePtr *os.File)

func (*TcsRunStore) RunPriorities

func (tcsRunStore *TcsRunStore) RunPriorities(baseUrl string, resultsLogFile string)

Jump to

Keyboard shortcuts

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