BackstopJS
BackstopJS copied to clipboard
Docs on which files to .gitignore?
I see the project itself has a .gitignore
but it has unrelated ignores like \.vscode/
so are there docs on which files we should check in and which we should ignore?
Obviously the reference images should be checked in, and the config, but what else?
You'll also want to check in any scripts you create that are used with onReadyScript
in the configs and so on.
My team's .gitignore only has two entries for BackstopJS:
backstop/*/images/test/
backstop/*/reports/
For the latest version I use:
backstop_data/bitmaps_test/*
backstop_data/html_report/*
@ipwa should i not put everything under backstop_data
in .gitignore
?
Here's a snippet from configuration:
paths: {
bitmaps_reference: "backstop_data/bitmaps_reference",
bitmaps_test: "backstop_data/bitmaps_test",
engine_scripts: "backstop_data/engine_scripts",
html_report: "backstop_data/html_report",
ci_report: "backstop_data/ci_report",
}