src/cm/scripts/test-suite/README.txt
author ymh <ymh.work@gmail.com>
Fri, 14 Mar 2014 13:16:10 +0100
changeset 611 fa66f4bb1563
parent 575 8ce80860c3fe
child 612 2bed79bde721
permissions -rw-r--r--
add some more custom config and put every thing in comment in the custom.yaml template


--------------------------------
- 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
vi workspace.info.js	# Customize tested workspace settings
./test-suite.sh

So you can run the test-suite multiple times using only `karma start` after the
first run.