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

Function TestHelmDiff

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

Source from the content-addressed store, hash-verified

49}
50
51func TestHelmDiff(t *testing.T) {
52 h := setupHelmDiffTest(t)
53 defer h.cleanup()
54
55 os.Args = []string{"helm-diff", "upgrade", "-f", "test/testdata/test-values.yaml", "test-release", "test/testdata/test-chart"}
56 require.NoError(t, cmd.New().Execute())
57}
58
59func TestHelmDiffWithKubeContext(t *testing.T) {
60 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