Signed-off-by: Tsubasa Nagasawa <toversus2357@gmail.com> |
||
|---|---|---|
| .. | ||
| testdata | ||
| .gitignore | ||
| README.md | ||
| snapshot_test.go | ||
| tmpl_test.go | ||
README.md
This directory contains a set of Go test source and testdata
to test the helmfile template's rendering result by calling helmfile build or helmfile template on test input
and comparing the output against the snapshot.
The testdata directory is composed of:
charts: The Helm charts used from within test helmfile configs (snapshpt/*/input.yaml) as local charts and remote chartssnapshot/$NAME/input.yaml: The input helmfile config for the test case of$NAMEsnapshot/$NAME/output.yaml: The expected output of the helmfile commandsnapshot/$NAME/config.yaml: The snapshot test configuration file. See theConfigstruct defined insnapshot_test.gofor more information