testutils

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FirstTest

func FirstTest(lang string) string

func GetTestAstFile

func GetTestAstFile(name string) string

func GetTestDataRoot

func GetTestDataRoot() string

Hack to get the project root directory from go tests. Go tests start from the directory where the test file is located, causing the relative path to testdata files to be unstable.

func GitCloneFast

func GitCloneFast(repoURL, dir, branch string) (string, error)

func ListTests

func ListTests(lang string) []string

func MakeTmpTestdir

func MakeTmpTestdir(reset bool) string

func TestPath

func TestPath(name, lang 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