Skip to content

Getting started writing tests for Etherpad Lite

johnyma22 edited this page Jun 4, 2012 · 8 revisions

We have partnered with SauceLabs to provide onDemand testing for Etherpad Lite.

To get started running and writing tests

Checkout the latest develop

git clone https://github.com/Pita/etherpad-lite.git

cd etherpad-lite

git checkout feature/testing

bin/installDeps.sh

cp config.tmp.js config.js

Edit config.js

Add your saucelabs username/key (If you need one then please get in touch and we will provide you with one)

Running the tests

To run all of the tests across all browsers:

node runner.js

To run one tests across all browsers:

node runner.js --spec=makeTextBold.js

To run one test in one browser:

node runner.js --spec=makeTextBold.js --browser=firefox

To get help / instructions:

node runner.js --help

Clone this wiki locally