executor

package
v0.72.1 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 GetFuzzTcArray

func GetFuzzTcArray() []testcase.TestCaseDataInfo

func GetOriginMutationTcArray

func GetOriginMutationTcArray() []testcase.TestCaseDataInfo

func GetPrioritySet

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

func GetTcFilePaths

func GetTcFilePaths() []string

func InitFullTcSlice

func InitFullTcSlice(filePaths []string) []*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 WarmUpMongoDBConnection

func WarmUpMongoDBConnection()

func WarmUpRedisConnection

func WarmUpRedisConnection()

func WarmUpSqlDBConnection

func WarmUpSqlDBConnection()

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
	MutationRunStore       *TcsRunStore
	GlobalTeardownRunStore *TcsRunStore
}

func InitG4Store

func InitG4Store() *G4Store

func (*G4Store) RunFinalConsoleReport

func (g4Store *G4Store) RunFinalConsoleReport()

for all (global setup, normal, global teardown)

func (*G4Store) RunFinalReport

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

for file report

type TcsRunStore

type TcsRunStore struct {
	TcSlice []*testcase.TestCaseDataInfo
	//
	PrioritySet []string
	Root        *tree.TcNode
	TcTree      tree.TcTree
	TcTreeStats tree.TcTreeStats
	TcDs        []*testcase.TestCaseDataInfo
	OverallFail int
}

func (*TcsRunStore) InitRun

func (tcsRunStore *TcsRunStore) InitRun()

func (*TcsRunStore) RunConsoleOverallReport

func (tcsRunStore *TcsRunStore) RunConsoleOverallReport()

for each global setup, normal, global teardown

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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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