garris / ember-backstop

BackstopJS visual regression testing addon for Ember.
MIT License
56 stars 21 forks source link

Proposal: A command for regenerating snapshots #53

Open mixonic opened 4 years ago

mixonic commented 4 years ago

When working with a threshold, reference images may drift. It can be nice to update them from time to time without waiting for a failure to occur.

A command like ember backstop:regenerate might be useful to blank all reference images and create new ones.

garris commented 4 years ago

Hey -- thanks for this comment -- there was already support for this -- but it was undocumented!

I just added the notes... see here... https://github.com/garris/ember-backstop/blob/master/README.md#reference-only-mode

This is relatively new feature so please LMK if it works for you. Cheers.