types

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestTypeValueOf

func TestTypeValueOf(tptype string) (apistructs.TestType, error)

func TestTypeValues

func TestTypeValues() []apistructs.TestType

Types

type TestParserType

type TestParserType string

测试结果解析 parser

const (
	// 使用 maven-surefire-plugin 生成的 TEST-xxx.xml 格式进行解析
	Default TestParserType = "DEFAULT"
	// 使用 testng 插件 org.testng.reporters.XMLReporter 生成的格式进行解析, 需要在 pom.xml 中配置该 reporter
	NGTest TestParserType = "NGTEST"
	// 使用 junit 生成的 xml 格式进行解析
	JUnit TestParserType = "JUNIT"
)

func (TestParserType) TPValue

func (t TestParserType) TPValue() string

Jump to

Keyboard shortcuts

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