tests

package
v1.34.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExcludeTestsPackage

func ExcludeTestsPackage(packages []string, packageToExclude string) []string

func GetTestPackages

func GetTestPackages(searchPattern string) []string

func InitVcsSubmoduleTestDir

func InitVcsSubmoduleTestDir(t *testing.T, srcPath string) (submodulePath, tmpDir string)

func RunTests

func RunTests(testsPackages []string, hideUnitTestsLog bool) error

func StartHttpServer

func StartHttpServer(handlers HttpServerHandlers) (int, error)

Types

type HttpServerHandlers

type HttpServerHandlers map[string]func(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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