xtest

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckFile added in v0.6.0

func CheckFile(t *testing.T, inputFile, wantFile string, do func(req *common.Request))

CheckFile 运行测试,检查单个 case 文件

func CheckFileAuto added in v0.6.0

func CheckFileAuto(t *testing.T, inputFile string, do func(req *common.Request))

CheckFileAuto inputFile 必须以 .input 结尾;wantFile 则自动依据 inputFile 推断 如 inputFile=demo.go.input 则 wantFile=demo.go.want

func TestGoFileName added in v0.5.2

func TestGoFileName(name string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳