diff -r 95a5c06c4008 -r 8ce80860c3fe src/cm/scripts/test-suite/README.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cm/scripts/test-suite/README.txt Thu Feb 13 18:54:19 2014 +0100 @@ -0,0 +1,34 @@ + +-------------------------------- +- 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. +