Documentation ¶
Index ¶
- func CommitBug() (ok bool, msg string)
- func CommitCase(caseId int, title string, stepMap maps.Map, stepTypeMap maps.Map, ...)
- func CommitTestResult(report model.TestReport, testTaskId int)
- func CommitZTFTestResult(resultDir string, productId string, taskId string, noNeedConfirm bool)
- func GetBugFiledOptions(productId int)
- func GetCaseById(baseUrl string, caseId string) model.TestCase
- func GetCaseContent(stepObj model.TestStep, seq string, independentFile bool, isChild bool) []string
- func GetCaseIdsBySuite(suiteId string, idMap *map[int]string)
- func GetCaseIdsByTask(taskId string, idMap *map[int]string)
- func GetConfig(baseUrl string) bool
- func GetFirstNoEmptyVal(options []model.Option) string
- func GetIdByName(name string, options []model.Option) string
- func GetNameById(id string, options []model.Option) string
- func IsMultiLine(step model.TestStep) bool
- func ListCaseByModule(baseUrl string, productId string, moduleId string) []model.TestCase
- func ListCaseByProduct(baseUrl string, productId string) []model.TestCase
- func ListCaseBySuite(baseUrl string, suiteId string) []model.TestCase
- func ListCaseByTask(baseUrl string, taskId string) []model.TestCase
- func LoadTestCases(productIdStr, moduleIdStr, suiteIdStr, taskIdStr string) (testcases []model.TestCase, loginFail bool)
- func Login(baseUrl string, account string, password string) bool
- func PrepareBug(resultDir string, caseIdStr string) (model.Bug, string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommitCase ¶
func CommitTestResult ¶
func CommitTestResult(report model.TestReport, testTaskId int)
func CommitZTFTestResult ¶
func GetBugFiledOptions ¶
func GetBugFiledOptions(productId int)
func GetCaseContent ¶
func GetCaseIdsBySuite ¶
func GetCaseIdsByTask ¶
func GetFirstNoEmptyVal ¶
func IsMultiLine ¶
func ListCaseByModule ¶
func LoadTestCases ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.