| author | Simon Descarpentries <sid@sopinspace.com> |
| Wed, 12 Mar 2014 18:33:06 +0100 | |
| changeset 612 | 2bed79bde721 |
| parent 575 | 8ce80860c3fe |
| permissions | -rw-r--r-- |
|
575
8ce80860c3fe
Add the skeleton of the future comt test-suite
Simon Descarpentries <sid@sopinspace.com>
parents:
diff
changeset
|
1 |
|
|
8ce80860c3fe
Add the skeleton of the future comt test-suite
Simon Descarpentries <sid@sopinspace.com>
parents:
diff
changeset
|
2 |
-------------------------------- |
|
8ce80860c3fe
Add the skeleton of the future comt test-suite
Simon Descarpentries <sid@sopinspace.com>
parents:
diff
changeset
|
3 |
- COMT test-suite instructions - |
|
8ce80860c3fe
Add the skeleton of the future comt test-suite
Simon Descarpentries <sid@sopinspace.com>
parents:
diff
changeset
|
4 |
-------------------------------- |
|
8ce80860c3fe
Add the skeleton of the future comt test-suite
Simon Descarpentries <sid@sopinspace.com>
parents:
diff
changeset
|
5 |
|
|
8ce80860c3fe
Add the skeleton of the future comt test-suite
Simon Descarpentries <sid@sopinspace.com>
parents:
diff
changeset
|
6 |
|
|
8ce80860c3fe
Add the skeleton of the future comt test-suite
Simon Descarpentries <sid@sopinspace.com>
parents:
diff
changeset
|
7 |
Prerequisite : |
|
8ce80860c3fe
Add the skeleton of the future comt test-suite
Simon Descarpentries <sid@sopinspace.com>
parents:
diff
changeset
|
8 |
-------------- |
|
8ce80860c3fe
Add the skeleton of the future comt test-suite
Simon Descarpentries <sid@sopinspace.com>
parents:
diff
changeset
|
9 |
You should have a running comt installation, made from a "comt" hg snapshot. |
|
8ce80860c3fe
Add the skeleton of the future comt test-suite
Simon Descarpentries <sid@sopinspace.com>
parents:
diff
changeset
|
10 |
You should have Firefox and/or Chrome navigators installed. You'll be able to |
|
8ce80860c3fe
Add the skeleton of the future comt test-suite
Simon Descarpentries <sid@sopinspace.com>
parents:
diff
changeset
|
11 |
run the tests against more brothers configuring them in the karma.conf.js file. |
|
8ce80860c3fe
Add the skeleton of the future comt test-suite
Simon Descarpentries <sid@sopinspace.com>
parents:
diff
changeset
|
12 |
|
|
8ce80860c3fe
Add the skeleton of the future comt test-suite
Simon Descarpentries <sid@sopinspace.com>
parents:
diff
changeset
|
13 |
|
|
8ce80860c3fe
Add the skeleton of the future comt test-suite
Simon Descarpentries <sid@sopinspace.com>
parents:
diff
changeset
|
14 |
Installation : |
|
8ce80860c3fe
Add the skeleton of the future comt test-suite
Simon Descarpentries <sid@sopinspace.com>
parents:
diff
changeset
|
15 |
-------------- |
|
8ce80860c3fe
Add the skeleton of the future comt test-suite
Simon Descarpentries <sid@sopinspace.com>
parents:
diff
changeset
|
16 |
apt-get install npm |
|
8ce80860c3fe
Add the skeleton of the future comt test-suite
Simon Descarpentries <sid@sopinspace.com>
parents:
diff
changeset
|
17 |
sudo ln /usr/bin/nodejs /usr/bin/node # /usr/share/doc/nodejs/README.Debian |
|
8ce80860c3fe
Add the skeleton of the future comt test-suite
Simon Descarpentries <sid@sopinspace.com>
parents:
diff
changeset
|
18 |
sudo npm install -g karma karma-mocha karma-e2e-dsl # goes here /usr/local/lib/node_modules/ |
|
8ce80860c3fe
Add the skeleton of the future comt test-suite
Simon Descarpentries <sid@sopinspace.com>
parents:
diff
changeset
|
19 |
|
|
8ce80860c3fe
Add the skeleton of the future comt test-suite
Simon Descarpentries <sid@sopinspace.com>
parents:
diff
changeset
|
20 |
Starting comt : |
|
8ce80860c3fe
Add the skeleton of the future comt test-suite
Simon Descarpentries <sid@sopinspace.com>
parents:
diff
changeset
|
21 |
--------------- |
|
8ce80860c3fe
Add the skeleton of the future comt test-suite
Simon Descarpentries <sid@sopinspace.com>
parents:
diff
changeset
|
22 |
cd comt/ |
|
8ce80860c3fe
Add the skeleton of the future comt test-suite
Simon Descarpentries <sid@sopinspace.com>
parents:
diff
changeset
|
23 |
./bin/django runserver localhost:8000 --settings=settings |
|
8ce80860c3fe
Add the skeleton of the future comt test-suite
Simon Descarpentries <sid@sopinspace.com>
parents:
diff
changeset
|
24 |
|
|
8ce80860c3fe
Add the skeleton of the future comt test-suite
Simon Descarpentries <sid@sopinspace.com>
parents:
diff
changeset
|
25 |
|
|
8ce80860c3fe
Add the skeleton of the future comt test-suite
Simon Descarpentries <sid@sopinspace.com>
parents:
diff
changeset
|
26 |
Starting the test-suite : |
|
8ce80860c3fe
Add the skeleton of the future comt test-suite
Simon Descarpentries <sid@sopinspace.com>
parents:
diff
changeset
|
27 |
------------------------- |
|
8ce80860c3fe
Add the skeleton of the future comt test-suite
Simon Descarpentries <sid@sopinspace.com>
parents:
diff
changeset
|
28 |
cd comt/src/cm/scripts |
|
612
2bed79bde721
Start testing mandatory fields being highlighted with empty values are submitted.
Simon Descarpentries <sid@sopinspace.com>
parents:
575
diff
changeset
|
29 |
cp workspace.info.js.example workspace.info.js |
|
575
8ce80860c3fe
Add the skeleton of the future comt test-suite
Simon Descarpentries <sid@sopinspace.com>
parents:
diff
changeset
|
30 |
vi workspace.info.js # Customize tested workspace settings |
|
612
2bed79bde721
Start testing mandatory fields being highlighted with empty values are submitted.
Simon Descarpentries <sid@sopinspace.com>
parents:
575
diff
changeset
|
31 |
./start-test-suite.sh |
|
575
8ce80860c3fe
Add the skeleton of the future comt test-suite
Simon Descarpentries <sid@sopinspace.com>
parents:
diff
changeset
|
32 |