-
Notifications
You must be signed in to change notification settings - Fork 300
Interesting tool for generating CLI GIFs / Integration Testing #842
spenserblack
started this conversation in
General
-
Not sure if we want to use this or not, but just wanted to bring attention to vhs, which is basically a language to write a script (in a .tape file) to run CLI commands and handle their outputs. The 2 main uses are
- Creating GIFs of usage.
- Integration testing.
Beta Was this translation helpful? Give feedback.
All reactions
-
🚀 1
Replies: 1 comment
-
That's very useful, thanks for sharing @spenserblack 👍
I like this part:
Use the .txt or .ascii output to generate golden files. Store these files in a git repository to ensure there are no diffs between runs of the
tape file.
We could use this for e2e (end to end) snapshot testing: info + formatting + ascii logo.
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment