Documentation ¶
Index ¶
- func FullfillBlock(gKeyWord *GKeyWord, startLine int, endLine int, lines []string)
- func GetBasicTcsInfo(kwSlice []*GKeyWord) []*testcase.TestCaseDataInfo
- func GetBlockType(headerLine string) string
- func GetTsNameFileMap(kwSlice []*GKeyWord) map[string]string
- func InitFullKwTcSlice(kwfilePathSlice []string) ([]*testcase.TestCaseDataInfo, []string)
- func LookupKwTestCase(ktc *KWTestCase, fullBasicTcSlice []*testcase.TestCaseDataInfo) []*testcase.TestCaseDataInfo
- func ResetTcNameAndParentTcName(kwId string, fullKwTcSlice []*testcase.TestCaseDataInfo)
- func SetKwTestSuiteInfo(ktc *KWTestCase, tsNameFileMap map[string]string) bool
- type GKeyWord
- func (gKw *GKeyWord) ParseSettingsOriginalContent()
- func (gKw *GKeyWord) ParseTestCasesOriginalContent()
- func (gKw *GKeyWord) ParseVariablesOriginalContent()
- func (gKw *GKeyWord) PopulateSettingsOriginalContent(startLine int, endLine int, lines []string)
- func (gKw *GKeyWord) PopulateTestCasesOriginalContent(startLine int, endLine int, lines []string)
- func (gKw *GKeyWord) PopulateVariablesOriginalContent(startLine int, endLine int, lines []string)
- type GKeyWords
- type KWTcConsoleResults
- type KWTcReportResults
- type KWTestCase
- type Settings
- type TestCases
- type Variables
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FullfillBlock ¶
func GetBasicTcsInfo ¶
func GetBasicTcsInfo(kwSlice []*GKeyWord) []*testcase.TestCaseDataInfo
func GetBlockType ¶
func GetTsNameFileMap ¶
func InitFullKwTcSlice ¶
func InitFullKwTcSlice(kwfilePathSlice []string) ([]*testcase.TestCaseDataInfo, []string)
func LookupKwTestCase ¶
func LookupKwTestCase(ktc *KWTestCase, fullBasicTcSlice []*testcase.TestCaseDataInfo) []*testcase.TestCaseDataInfo
func ResetTcNameAndParentTcName ¶
func ResetTcNameAndParentTcName(kwId string, fullKwTcSlice []*testcase.TestCaseDataInfo)
func SetKwTestSuiteInfo ¶
func SetKwTestSuiteInfo(ktc *KWTestCase, tsNameFileMap map[string]string) bool
Types ¶
type GKeyWord ¶
type GKeyWord struct { Settings *Settings TestCases *TestCases // Keywords Keywords Variables *Variables }
currently, supports TestCases, Settings, Keywords, Variables
func InitGKeyWord ¶
func InitKeyWordSlice ¶
func (*GKeyWord) ParseSettingsOriginalContent ¶
func (gKw *GKeyWord) ParseSettingsOriginalContent()
func (*GKeyWord) ParseTestCasesOriginalContent ¶
func (gKw *GKeyWord) ParseTestCasesOriginalContent()
func (*GKeyWord) ParseVariablesOriginalContent ¶
func (gKw *GKeyWord) ParseVariablesOriginalContent()
func (*GKeyWord) PopulateSettingsOriginalContent ¶
func (*GKeyWord) PopulateTestCasesOriginalContent ¶
type KWTcConsoleResults ¶
type KWTcReportResults ¶
type KWTcReportResults struct { KWName string StartTime string EndTime string StartTimeUnixNano int64 EndTimeUnixNano int64 DurationUnixNano int64 DurationUnixMillis int64 TestResult string // Success, Fail }
for report format
type KWTestCase ¶
Click to show internal directories.
Click to hide internal directories.