Add script to start Sahi from command line
FEA: ItEr75S18DataTypesTests
This commit is contained in:
parent
df327c6288
commit
2499bf58b0
2 changed files with 14 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
6
scripts/functional-tests/start_sahi.sh
Executable file
6
scripts/functional-tests/start_sahi.sh
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
. ./sahi-common-env.sh
|
||||
|
||||
export SAHI_USERDATA_DIR=$SAHI_HOME/userdata
|
||||
. $SAHI_HOME/bin/dashboard.sh
|
||||
Loading…
Add table
Reference in a new issue