Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Interesting tool for generating CLI GIFs / Integration Testing #842

spenserblack started this conversation in General
Discussion options

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

  1. Creating GIFs of usage.
  2. Integration testing.
You must be logged in to vote

Replies: 1 comment

Comment options

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.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /