testsuite

package
v0.71.8 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2020 License: MIT Imports: 6 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 GetTsNames

func GetTsNames(filePathSlice []string) []string

func InitFullTsTcSlice

func InitFullTsTcSlice(filePathSlice []string) []*testcase.TestCaseDataInfo

Types

type TestSuite

type TestSuite map[string]*TestSuiteBasics

test suite type,

func AnalyzeTestSuiteTestCases

func AnalyzeTestSuiteTestCases(tsuite *TestSuite) *TestSuite

to populate AnalyzedTestCases, if TestCasePaths is defined, use path to generate otherwise, use OriginalTestCases

func ConstructTsInfosWithoutDt

func ConstructTsInfosWithoutDt(suiteFile string) TestSuite

func InitTestSuiteSlice

func InitTestSuiteSlice(filePathSlice []string) []*TestSuite

func (*TestSuite) OriginalTestCases

func (ts *TestSuite) OriginalTestCases() []string

func (*TestSuite) Parameters

func (ts *TestSuite) Parameters() map[string]interface{}

func (*TestSuite) Priority

func (ts *TestSuite) Priority() string

func (*TestSuite) SetAnalyzedTestCases

func (ts *TestSuite) SetAnalyzedTestCases(tcSlice []*testcase.TestCaseDataInfo)

set AnalyzedTestCases

func (*TestSuite) TestCasePaths

func (ts *TestSuite) TestCasePaths() []string

func (*TestSuite) TestSuiteBasics

func (ts *TestSuite) TestSuiteBasics() *TestSuiteBasics

func (*TestSuite) TsName

func (ts *TestSuite) TsName() string

test suite type - get

func (*TestSuite) WriteSession

func (ts *TestSuite) WriteSession()

set the session info for test suite

type TestSuiteBasics

type TestSuiteBasics struct {
	Priority          string                       `json:"priority"` // is the highest of the testcases included (i.e. get p1 if has p1, p2, p9)
	Description       string                       `json:"description"`
	TestCasePaths     []string                     `json:"testCasePaths"` // has highp riority than attribute TestCases
	OriginalTestCases []string                     `json:"originalTestCases"`
	AnalyzedTestCases []*testcase.TestCaseDataInfo `json:"analyzedTestCases"`
	Parameters        map[string]interface{}       `json:"parameters"`
}

type TestSuites

type TestSuites []*TestSuite

type TsConsoleResults

type TsConsoleResults struct {
	TsName             string
	Priority           string
	StartTime          string
	EndTime            string
	StartTimeUnixNano  int64
	EndTimeUnixNano    int64
	DurationUnixNano   int64
	DurationUnixMillis int64
	TestResult         string // Success, Fail
}

type TsReportResults

type TsReportResults struct {
	TsName             string
	Priority           string
	StartTime          string
	EndTime            string
	StartTimeUnixNano  int64
	EndTimeUnixNano    int64
	DurationUnixNano   int64
	DurationUnixMillis int64
	TestResult         string // Success, Fail
}

for report format

Jump to

Keyboard shortcuts

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