Add script to start Sahi from command line

FEA: ItEr75S18DataTypesTests
This commit is contained in:
Manuel Rego Casasnovas 2011-08-09 08:49:44 +02:00
parent df327c6288
commit 2499bf58b0
2 changed files with 14 additions and 3 deletions

View file

@ -61,12 +61,17 @@ Once installed the program you have two kinds of run:
* Console:
* To run sahi scripts, you need to start sahi and after this you must be in
``scripts/functional-tests/``, there you can run them like::
* To run sahi scripts, you need to start Sahi::
$ start_sahi.sh
* And inside ``scripts/functional-tests/`` you can run them with::
$ testrunner.sh yourtest.sah <initial-url> <browser>
* NOTE: If you modify sahi default installation path (``~/sahi/``), you must
.. WARNING::
If you modify sahi default installation path (``~/sahi/``), you must
change the path in ``scripts/functional-tests/sahi-common-env.sh``
It's possible run more than one script at the same time using a file.suite you

View file

@ -0,0 +1,6 @@
#!/bin/bash
. ./sahi-common-env.sh
export SAHI_USERDATA_DIR=$SAHI_HOME/userdata
. $SAHI_HOME/bin/dashboard.sh