Documentation
¶
Index ¶
- func ConstructTcInfosWithDt(jsonFile string, csvFileList []string) []*testcase.TestCaseDataInfo
- func ConstructTcInfosWithoutDt(jsonFile string) []*testcase.TestCaseDataInfo
- func Dispatch(ch chan int, gStart_time time.Time, gStart_str string)
- func GenerateInputsFileWithConsolidatedData(filePath string, inputsInfos []string) []string
- func GetBaseUrl(opt cmd.Options) string
- func GetBasicInputsFilesPerFile(filePath string) []string
- func GetBasicInputsInfos(filePath string) [][]string
- func GetCsvDataFilesForJsonFile(jsonFile string, suffix string) []string
- func GetFuzzTcArray() []testcase.TestCaseDataInfo
- func GetOriginMutationTcArray() []testcase.TestCaseDataInfo
- func GetPrioritySet(tcArray []*testcase.TestCaseDataInfo) []string
- func GetTcNameSet(tcArray []*testcase.TestCaseDataInfo) []string
- func IfCaseNameDuplicated(tcInfos []*testcase.TestCaseDataInfo) bool
- func InitFullTcSlice() []*testcase.TestCaseDataInfo
- func InitGlobalSetUpTcSlice(fullTcSlice []*testcase.TestCaseDataInfo) []*testcase.TestCaseDataInfo
- func InitGlobalTeardownTcSlice(fullTcSlice []*testcase.TestCaseDataInfo) []*testcase.TestCaseDataInfo
- func InitNormalTcSlice(fullTcSlice []*testcase.TestCaseDataInfo) []*testcase.TestCaseDataInfo
- func MkResultsDir(gStart_str string, opt cmd.Options) string
- func ScheduleCases(cReady chan *tree.TcNode, wg *sync.WaitGroup, ...)
- func SortPrioritySet(prioritySet []string) []string
- func WarmUpDBConnection()
- func WarmUpRedisConnection()
- func WriteNotNotExecutedToLog(priority string, logFilePtr *os.File, tcTreeStats tree.TcTreeStats)
- type G4Store
- type TcsRunStore
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 GenerateInputsFileWithConsolidatedData ¶
to apply the csv operator: union, join, append for inputs files
func GetBaseUrl ¶
func GetBasicInputsInfos ¶
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 ScheduleCases ¶
func SortPrioritySet ¶
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()
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)
Click to show internal directories.
Click to hide internal directories.