A presentation on Headless Testing Against Real Web Browsers.
The slides can be viewed online at mdb.github.io/testing-with-xvfb.
Compile:
npm run build
Serve compiled app at localhost:8080
:
npm start
Execute tests (run npm run build
& npm start
first!):
npm run update-webdriver
npm test
The .travis.yml
and travis-ci.org/mdb/testing-with-xvfb offer a basic demo of some testing techniques covered in this presentation.
Commits to master
that pass CI are auto-deployed to mdb.github.io/testing-with-xvfb.