Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dkarlovi/visual-regression-infra-test


https://github.com/dkarlovi/visual-regression-infra-test

Last synced: 3 days ago
JSON representation

Awesome Lists containing this project

README

        

# Example usage of visual regression testing via sigwin/infra

Uses Backstop.js.

## TL;DR

1. install [`sigwin/infra`](https://github.com/sigwinhq/infra)
2. point the root `Makefile` to `resources/Visual/default.mk`
3. create [`backstop.config.js`](./backstop.config.js) and [configure Backstop](https://github.com/garris/BackstopJS#using-backstopjs)
4. `make visual/reference` creates reference files, run on workstation and commit those
5. `make test` verifies the current state against committed references, dumps the reports into `var/backstop/reports/`, run on CI