bowie
v0.2.3
Published
Glamorous browser testing
Downloads
1
Readme
bowie
Glamorous browser testing
Get Started
Step 1: Add bowie to your project
Install and run Selenium in a separate terminal:
npm install -g selenium-standalone@latest
selenium-standalone start
Install bowie:
npm install --save-dev bowie
Initialize the test directory:
npx bowie setup
Step 2: Run the editor to edit your tests:
npx bowie editor
Then open your web browser to http://localhost:3000.
Step 3: Run the test suite from the command line
npx bowie test
Optional: Setup scripts to run later
Define these scripts to your package.json
:
{
"scripts": {
"test": "bowie test",
"editor": "bowie editor"
}
}
Now you can start the editor with npm run editor
and run the test suite with npm test
.