Documentation ¶
Index ¶
- func CamelString(s string) string
- func CheckStringType(inter interface{}) bool
- func CopyInputModel(src interface{}) (interface{}, error)
- func CopyInputModelAndData(src interface{}) (interface{}, error)
- func DecodeData(data interface{}) interface{}
- func DisableEscapeHtml(data interface{}) (string, error)
- func ElementIsInSlice(element string, elements []string) (isIn bool)
- func FindString(reg, str string) string
- func GetGoPath() string
- func GetTestingTPtrFromStack() *testing.T
- func InterfaceUnmarshalMap(i interface{}) (map[string]interface{}, error)
- func IsNumber(s string) bool
- func IsStringType(data interface{}) bool
- func LastElementOfStringSlice(s []string) string
- func Md5(s string) string
- func Number2Float64(data interface{}) float64
- func PrintSuiteCaseAttachment(suiteName, caseName string, ta interface{})
- func SnakeString(s string) string
- func String2Float64(s string) (interface{}, error)
- func SubCaseFilter(target string, caseLabels []string) (isRun bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CamelString ¶
func CheckStringType ¶
func CheckStringType(inter interface{}) bool
func CopyInputModel ¶
func CopyInputModel(src interface{}) (interface{}, error)
func CopyInputModelAndData ¶
func CopyInputModelAndData(src interface{}) (interface{}, error)
func DecodeData ¶
func DecodeData(data interface{}) interface{}
func DisableEscapeHtml ¶
func ElementIsInSlice ¶
判断切片中是否包含元素
func FindString ¶
func GetTestingTPtrFromStack ¶
func InterfaceUnmarshalMap ¶
func IsStringType ¶
func IsStringType(data interface{}) bool
func Number2Float64 ¶
func Number2Float64(data interface{}) float64
func PrintSuiteCaseAttachment ¶
func PrintSuiteCaseAttachment(suiteName, caseName string, ta interface{})
func SnakeString ¶
func String2Float64 ¶
func SubCaseFilter ¶
子用例过滤,返回true表示需要执行,false表示需要跳过
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.