Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use snapshots to test * show outputs #152

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kangasta
Copy link
Contributor

@kangasta kangasta commented Jul 25, 2022

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
  • server show
  • storage show

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

@kangasta kangasta force-pushed the refactor/snapshot-tests branch from 837652f to f2bdaed Compare July 26, 2022 10:26
@kangasta kangasta added the enhancement New feature or request label Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant