upcloud-cli icon indicating copy to clipboard operation
upcloud-cli copied to clipboard

Use snapshots to test `* show` outputs

Open kangasta opened this issue 2 years ago • 0 comments

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).

  • [ ] account show
  • [ ] ip-address show
  • [ ] network show
  • [ ] router show
  • [ ] server firewall show
  • [x] server show
  • [ ] storage show

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

kangasta avatar Jul 25 '22 12:07 kangasta