Skip to content

Getting started writing tests for Etherpad Lite

johnyma22 edited this page Jun 4, 2012 · 12 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 develop

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

General

Resources

For Developers

How to's

Set up

Advanced steps

Integrating Etherpad in your web app

for Developers

Clone this wiki locally