Installing the example
Make sure you've got git and NodeJS installed.
Then proceed to clone our intern_example with the follow commands:
Once that's installed, please run the follow command to set up the example:
Run Intern test on TestingBot
In the tests/intern.js file you'll find a environments variable where you can indicate on which browsers you want your test to run on via TestingBot.
To actually run the test on TestingBot, we first need to specify the TestingBot key and secret in tests/intern.js. You need to specify these in the webdriver and tunnelOptions variables.
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 to TestingBot.
Pick a NodeJS test framework
Protractor is an end-to-end test framework for AngularJS applications. Protractor is a nodeJS program built on top of WebDriverJS.
Selenium Node Adapter. A light-weight Selenium RC client for NodeJS.
Nightwatch.js is an automated testing framework written in NodeJS.
Intern is a nodeJS framework for testing Web sites and applications.
WD.js is a NodeJS client for WebDriver/Selenium.