execute

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadCaseDataWithCommon

func LoadCaseDataWithCommon(t *testing.T, dataSet *resource.CaseDataSet, common string) *resource.CaseDataSet

func RunDataDrivenSuite

func RunDataDrivenSuite(t *testing.T, suite data_driven_suite.IDataDrivenSuite)

func RunDataSet

func RunDataSet(t *testing.T, testF DataTestFunc, mws ...resource.CaseDataLoadFunc)

RunDataSet 执行一组用例集, 用例数据目录自动推断

func RunDataSetWithParams

func RunDataSetWithParams(t *testing.T, testF DataTestFunc, data map[string][]map[string]interface{}, mws ...resource.CaseDataLoadFunc)

func RunRemoteDataDrivenSuite

func RunRemoteDataDrivenSuite(t *testing.T, dataSetMap map[string]*resource.CaseDataSet, suite data_driven_suite.IDataDrivenSuite)

func RunRemoteDataSet

func RunRemoteDataSet(t *testing.T, dataSet *resource.CaseDataSet, testF DataTestFunc, mws ...resource.CaseDataHandleFunc)

Types

type DataTestFunc

type DataTestFunc func(*testing.T, *resource.CaseData) interface{}

Jump to

Keyboard shortcuts

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