Skip to content

When should we use Storyshots? #18119

Discussion options

You must be logged in to vote

Great question. We've recently introduced new testing mechanisms in Storybook and things are still in flux, but let me do my best to break things down. cc @yannbf

Storyshots was the original testing tool for Storybook. It was dead simple to set up and you got DOM snapshots for free for all your stories. Unfortunately, there were a bunch of things wrong with its architecture/implementation. Nevertheless it's been the only game in town for awhile so it's widely used.

Test runner is intended to be the primary "new way" to test stories. We just released the first version, so three is still some work to do to create a direct upgrade path from Storyshots. In the meantime, you can get smoke test…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
4 replies
@winkerVSbecks
Comment options

@ChenReuven
Comment options

@winkerVSbecks
Comment options

@ChenReuven
Comment options

Answer selected by yannbf
Comment options

You must be logged in to vote
2 replies
@matthew-dean
Comment options

@shilman
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants