src/cm/scripts/test-suite/README.txt
changeset 575 8ce80860c3fe
child 612 2bed79bde721
equal deleted inserted replaced
565:95a5c06c4008 575:8ce80860c3fe
       
     1 
       
     2 --------------------------------
       
     3 - COMT test-suite instructions -
       
     4 --------------------------------
       
     5 
       
     6 
       
     7 Prerequisite :
       
     8 --------------
       
     9 You should have a running comt installation, made from a "comt" hg snapshot.
       
    10 You should have Firefox and/or Chrome navigators installed. You'll be able to
       
    11 run the tests against more brothers configuring them in the karma.conf.js file.
       
    12 
       
    13 
       
    14 Installation :
       
    15 --------------
       
    16 apt-get install npm
       
    17 sudo ln /usr/bin/nodejs /usr/bin/node	# /usr/share/doc/nodejs/README.Debian
       
    18 sudo npm install -g karma karma-mocha karma-e2e-dsl	# goes here /usr/local/lib/node_modules/
       
    19 
       
    20 Starting comt :
       
    21 ---------------
       
    22 cd comt/
       
    23 ./bin/django runserver localhost:8000 --settings=settings
       
    24 
       
    25 
       
    26 Starting the test-suite :
       
    27 -------------------------
       
    28 cd comt/src/cm/scripts
       
    29 vi workspace.info.js	# Customize tested workspace settings
       
    30 ./test-suite.sh
       
    31 
       
    32 So you can run the test-suite multiple times using only `karma start` after the
       
    33 first run.
       
    34