@o3world/backstopjs
v1.8.1
Published
A commandline utility and node server to assist in creating drupal backstop tests
Downloads
16
Readme
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
- Clone this repo and cd into it. Run:
npm install
- Generate a reference of o3world.com:
node backstop.js reference
- 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