You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The Helm unittest plugin has a feature that allows to produice snapshots of the rendered templates that can later be used to perform assertions against the whole snapshot instead of smaller chunks of the rendered result: https://github.com/quintush/helm-unittest#snapshot-testing
Describe the solution you'd like
For this to have a good user experience should give the option to the end user to export the snapshots against the right location for each of the charts. This may be achieved with a helm-unittest-snapshot goal that would run the unittest plugin with the --update-snapshot flag, which will not run the tests but rather generate the said snapshots.
When running the tests, the snapshot files will also be loaded into the processes sandbox. Any changes that those snapshots may receive during the process execution can be re-exported as TestResult.extra_output so they can be compared against the snapshots in the workspace.
Describe alternatives you've considered
An alternative to the helm-unittest-snapshot goal would be use the already existent export-codegen goal.
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
The Helm
unittest
plugin has a feature that allows to produice snapshots of the rendered templates that can later be used to perform assertions against the whole snapshot instead of smaller chunks of the rendered result:https://github.com/quintush/helm-unittest#snapshot-testing
Describe the solution you'd like
For this to have a good user experience should give the option to the end user to export the snapshots against the right location for each of the charts. This may be achieved with a
helm-unittest-snapshot
goal that would run theunittest
plugin with the--update-snapshot
flag, which will not run the tests but rather generate the said snapshots.When running the tests, the snapshot files will also be loaded into the processes sandbox. Any changes that those snapshots may receive during the process execution can be re-exported as
TestResult.extra_output
so they can be compared against the snapshots in the workspace.Describe alternatives you've considered
An alternative to the
helm-unittest-snapshot
goal would be use the already existentexport-codegen
goal.Additional context
N/A
The text was updated successfully, but these errors were encountered: