Documentation
¶
Overview ¶
Package testrunner implements runners for end-to-end and fuzz test suites.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var K3dClusters = []string{"zarf", "zarf-local-storage"} //nolint:gochecknoglobals
K3dClusters are the clusters the zarf module e2e suite creates, named in test/e2e/zarf/testdata/k3d-config.yaml and k3d-config-local-storage.yaml.
Functions ¶
func DeleteK3dClusters ¶ added in v0.30.0
func DeleteK3dClusters() error
DeleteK3dClusters removes the clusters the zarf module suite creates, for a run that was interrupted before its own cleanup ran. A cluster that is not there is not an error.
func RunE2ENoBuild ¶
RunE2ENoBuild runs go test against pkg with the temporary directory configured for e2e suites.
func RunE2EZarf ¶ added in v0.30.0
func RunE2EZarf() error
RunE2EZarf builds the zarf Ansible module files, then runs the zarf module e2e suite.
The timeout is generous because the suite stands up two k3d clusters and walks four zarf packages across each of them; the first run also pulls the packages.
func StopBootlooseContainers ¶
func StopBootlooseContainers() error
StopBootlooseContainers force-removes leftover bootloose containers.
Types ¶
This section is empty.