Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dkarlovi/visual-regression-infra-test
https://github.com/dkarlovi/visual-regression-infra-test
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dkarlovi/visual-regression-infra-test
- Owner: dkarlovi
- Created: 2022-10-21T06:40:45.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-21T08:31:38.000Z (about 2 years ago)
- Last Synced: 2024-11-06T13:01:28.855Z (about 2 months ago)
- Language: HTML
- Size: 447 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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