Code Monkey home page Code Monkey logo

kite-sample-tests's Introduction

KITE-Sample-Tests

Requirements

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.

Compiling and running tests

Compiling

If you have already follow the instructions for the KITE Engine, you will have:

  • 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 the kite-allure-reports folder from your current directory.

If not, you might need to do that first. But you can still compile the project with:

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).

Run KITE-Janus-Test Example

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

Open the dashboard (Allure Report)

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.

kite-sample-tests's People

Contributors

anastasiapopiolek avatar axelviviencosmo avatar cosmoremyg avatar emmanuelandre avatar karen-saldanha avatar limzhien avatar namvucosmo avatar nocturc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.