shutter
shutter copied to clipboard
📸 Shutter visual snapshot testing packages
Create an option to watch file changes and rerun the tests.
Provide this as an opt-in feature after implementing #32: Build testing code using webpack, so you can use `css-loader`, `sass-loader`, `vue-loader`, ... in your test code and your components. ##...
Right now we leave it to the user to use the test runner they already have for running the shutter tests. The downside is that the resulting test code does...
Fail early in `@shutter/core` if `shutter.snapshot()` is called twice with the same test name. Would crash anyway if rendered content is not exactly the same as both tests would write...
Document how the general setup works. Give examples for Travis CI, Circle CI & GitLab CI.
It's not quite intuitive how to reference custom stylesheets, customize the layout, etc. right now. Let's come up with something better.
Since they often render, they usually populate the dashboard. Making them pretty means a prettier dashboard. Keep it simple, though.