In order to run the test, you'll need the KITE Engine (KITE 2.0) from webrtc.org's KITE Github repository
Please follow the instructions to configure and compile the Engine.
-
KITE_HOME
is set as the path to where you configured KITE Engine -
The appropriate path (depends on your OS) is included to you
PATH
, so that you will have access to these commands:c
: compile with maven in your current directory.r
: run kite test with a config file.a
: open Allure report from thekite-allure-reports
folder from your current directory.
mvn -DskipTests clean install
However, this might give you error, since some of the dependencies for this project, which need to be install to Maven local repository, come from the compilation of the KITE Engine (namely, kite-framework).
Edit the file ./KITE-Janus-Test/configs/local.janus.config.json
with your favorite text editor.
You might need to change version
and platform
according to what is installed on your local grid (if your grid is running on localhost, it's fine to keep "localhost" as the platform).
To run the Janus test:
cd KITE-Janus-Test
r local.janus.config.json
Alternatively, you can launch the test with the full command. On Windows:
-Dkite.firefox.profile="%KITE_HOME%"/third_party/ -cp "%KITE_HOME%/KITE-Engine/target/kite-jar-with-dependencies.jar;target/*" org.webrtc.kite.Engine configs/local.janus.config.json
On Linux/Mac:
-Dkite.firefox.profile="$KITE_HOME"/third_party/ -cp "$KITE_HOME/KITE-Engine/target/kite-jar-with-dependencies.jar:target/*" org.webrtc.kite.Engine configs/local.janus.config.json
When the tests is launched using the above script, it will generate Allure reports in the folder kite-allure-reports
.
After running the test, you can open the Allure dashboard with the command a
.
cd KITE-Janus-Test
a
or:
allure serve kite-allure-reports\
Your default browser should open automatically on the Allure dashboard page.