Documentation
¶
Index ¶
Constants ¶
View Source
const ( BinPath = "../../bin/vers" DefaultTimeout = 60 * time.Second )
Variables ¶
This section is empty.
Functions ¶
func ParseVMID ¶
ParseVMID extracts the VM ID from `vers run` output. The output format is: "VM '<vmID>' started successfully."
func RegisterVMCleanup ¶
RegisterVMCleanup ensures a VM is deleted at test end.
func RunVers ¶
RunVers executes the CLI with a timeout and returns combined stdout/stderr and error.
func TestEnv ¶
func TestEnv(t TLike)
TestEnv ensures required env vars are present; loads root .env if found.
func UniqueAlias ¶
UniqueAlias returns a unique alias string scoped to a test run.
Types ¶
Click to show internal directories.
Click to hide internal directories.