ToolsTest

package
v5.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	//ConfigDirAppend 路径修正
	ConfigDirAppend = "/../../builds/test"
)

Functions

func Init

func Init(t *testing.T)

Init 测试初始化入口

func ReportData

func ReportData(t *testing.T, err error, data interface{})

ReportData 反馈错误和数据集合

func ReportDataList

func ReportDataList(t *testing.T, err error, data interface{}, dataCount int64)

ReportDataList 反馈错误列表

func ReportError

func ReportError(t *testing.T, err error)

ReportError 反馈错误

func ReportErrorCode

func ReportErrorCode(t *testing.T, errCode string, err error)

ReportErrorCode 反馈错误

Types

This section is empty.

Jump to

Keyboard shortcuts

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