helmfile/test/e2e/template/helmfile
Arkaitz Jimenez 4553efdcf1 Formatting
Signed-off-by: Arkaitz Jimenez <arkaitzj@gmail.com>
2022-08-16 16:25:24 +02:00
..
testdata Implement readDirEntries method 2022-07-26 16:20:38 +02:00
README.md Add integration test with local oci repo 2022-07-18 13:43:01 +00:00
snapshot_test.go E2E helmfile-template testing with local chart repo server 2022-07-20 11:59:32 +00:00
tmpl_test.go Formatting 2022-08-16 16:25:24 +02:00

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 charts
  • snapshot/$NAME/input.yaml: The input helmfile config for the test case of $NAME
  • snapshot/$NAME/output.yaml: The expected output of the helmfile command
  • snapshot/$NAME/config.yaml: The snapshot test configuration file. See the Config struct defined in snapshot_test.go for more information