You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
flux2/test/e2e/e2e_test.go

25 lines
621 B
Go

// +build e2e
package e2e
import (
"testing"
"github.com/stretchr/testify/assert"
"gotest.tools/golden"
)
func TestFluxInstallManifests(t *testing.T) {
actual, err := runAsBytes(fluxBinary, "install")
assert.NoError(t, err)
golden.Assert(t, string(actual), "../../../testdata/flux_install_manifests.golden")
}
func TestFluxInstallManifestsExtra(t *testing.T) {
actual, err := runAsBytes(fluxBinary, "install", "--components-extra", "image-reflector-controller,image-automation-controller")
assert.NoError(t, err)
golden.Assert(t, string(actual), "../../../testdata/flux_install_manifests_extra.golden")
}