Documentation ¶
Index ¶
- func AvailableStrategies() []string
- func CleanUpEnv(t *testing.T)
- func DefaultMatrix(t *testing.T, f func(*testing.T, bool, string))
- func FailExit(t *testing.T, out []byte, err error)
- func GetCmdList() ([]string, error)
- func InstallConfig(t *testing.T, filename string)
- func RunVolt(args ...string) ([]byte, error)
- func SetUpEnv(t *testing.T)
- func SetUpRepos(t *testing.T, testdataName string, rType lockjson.ReposType, ...) func()
- func SuccessExit(t *testing.T, out []byte, err error)
- func TestdataDir() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AvailableStrategies ¶ added in v0.2.3
func AvailableStrategies() []string
func CleanUpEnv ¶ added in v0.4.1
func DefaultMatrix ¶ added in v0.2.3
func GetCmdList ¶ added in v0.2.3
Return sorted list of command names list
func InstallConfig ¶ added in v0.2.3
func SetUpRepos ¶ added in v0.2.3
func SetUpRepos(t *testing.T, testdataName string, rType lockjson.ReposType, reposPathList []pathutil.ReposPath, strategy string) func()
Set up $VOLTPATH after "volt get <repos>" but the same repository is cloned only at first time under testdata/voltpath/{testdataName}/repos/<repos>
func TestdataDir ¶ added in v0.2.3
func TestdataDir() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.