Documentation
¶
Overview ¶
Package fleetboxtest provides testing.T integration for fleetbox VMs.
VMs created with Start or StartN are automatically destroyed when the test completes.
Example:
func TestMyApp(t *testing.T) {
vm := fleetboxtest.Start(t, "debian-12")
out, err := vm.SSH(context.Background(), "uname -a")
if err != nil {
t.Fatal(err)
}
t.Log(out)
}
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SkipIfShort ¶
SkipIfShort skips the test if -short is set.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.