MCPcopy Index your code
hub / github.com/databus23/helm-diff / TestHelmDiffWithKubeContext

Function TestHelmDiffWithKubeContext

main_test.go:59–65  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

57}
58
59func TestHelmDiffWithKubeContext(t *testing.T) {
60 h := setupHelmDiffTest(t)
61 defer h.cleanup()
62
63 os.Args = []string{"helm-diff", "upgrade", "-f", "test/testdata/test-values.yaml", "--kube-context", "test-context", "test-release", "test/testdata/test-chart"}
64 require.NoError(t, cmd.New().Execute())
65}
66
67func TestHelmDiffWithKubeContextReuseValues(t *testing.T) {
68 h := setupHelmDiffTest(t)

Callers

nothing calls this directly

Calls 3

NewFunction · 0.92
setupHelmDiffTestFunction · 0.85
cleanupMethod · 0.80

Tested by

no test coverage detected