Installing the example
Make sure you have installed both
Then proceed to clone our karma-testingbot-example with the follow commands:
Once that's installed, please run the follow command to set up the example:
Run Karma test with our karma-testingbot-launcher plugin
In the example's directory, you'll find a file
karma.conf-testingbot.js which contains a "customLaunchers" variable with multiple browsers defined. This is the place where you specify on which browsers you want your test to run.
To actually run the test on TestingBot, we first need to specify the
TESTINGBOT_SECRET environment variables, which you can find in our member area.
Now you're ready to run the test on TestingBot.
To start the test, run the following command:
This will download and start our TestingBot Tunnel, run your test and report back the result.