src/cm/scripts/test-suite/README.txt
author Simon Descarpentries <sid@sopinspace.com>
Wed, 12 Mar 2014 18:33:06 +0100
changeset 612 2bed79bde721
parent 575 8ce80860c3fe
permissions -rw-r--r--
Start testing mandatory fields being highlighted with empty values are submitted.


--------------------------------
- COMT test-suite instructions -
--------------------------------


Prerequisite :
--------------
You should have a running comt installation, made from a "comt" hg snapshot.
You should have Firefox and/or Chrome navigators installed. You'll be able to
run the tests against more brothers configuring them in the karma.conf.js file.


Installation :
--------------
apt-get install npm
sudo ln /usr/bin/nodejs /usr/bin/node	# /usr/share/doc/nodejs/README.Debian
sudo npm install -g karma karma-mocha karma-e2e-dsl	# goes here /usr/local/lib/node_modules/

Starting comt :
---------------
cd comt/
./bin/django runserver localhost:8000 --settings=settings


Starting the test-suite :
-------------------------
cd comt/src/cm/scripts
cp workspace.info.js.example workspace.info.js
vi workspace.info.js	# Customize tested workspace settings
./start-test-suite.sh