test

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProjectDirectory

func ProjectDirectory(t *testing.T) string

ProjectDirectory returns the directory of the project being worked on, by walking the tree upwards until it finds a go.mod file.

func ProjectDirectoryJoin

func ProjectDirectoryJoin(t *testing.T, pathElems ...string) string

ProjectDirectoryJoinPath returns a path joined to the project directory. See `ProjectDirectory` for more information

Types

This section is empty.

Jump to

Keyboard shortcuts

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