UpCloudLtd / upcloud-cli

UpCloud command line client (upctl)
https://upcloudltd.github.io/upcloud-cli/
MIT License
29 stars 7 forks source link

Use snapshots to test `* show` outputs #152

Open kangasta opened 2 years ago

kangasta commented 2 years ago

This would move inline text manual snapshots into files managed by cupaloy. Makes it easier to manage snapshots without manual copy-pasting and would make it easier to add different snapshots in future (e.g., test output with colors enabled on non-windows environments).

db show and lb show do not have "manual" snapshot tests at the moment.