backstopjs-ci
Version:
A commandline utility and node server to assist in creating drupal backstop tests
24 lines (16 loc) • 739 B
Markdown
# backstop-starter-kit
A stupid simple starter kit for getting started running backstop tests.
# Run your first test in one command
`git clone https://github.com/o3world/backstop-starter-kit.git && cd backstop-starter-kit && npm install && node backstop.js reference && node backstop.js test`
# Usage
1. Clone this repo and cd into it. Run:
`npm install`
2. Generate a reference of o3world.com:
`node backstop.js reference`
3. Generate a test of o3world.com dev:
`node backstop.js test`
# Options
Override reference or test urls
`node backstop.js test --referenceUrl=https://o3world.com --testUrl=https://dev-o3-world.pantheonsite.io`
# Config
[See config.js.](https://github.com/o3world/backstop-starter-kit/blob/master/config.js)