Name: dash.js-browserstack
Owner: Dash Industry Forum
Description: Spike for automated BrowserStack UATs for dash.js
Created: 2016-01-20 22:56:03.0
Updated: 2017-11-27 22:49:11.0
Pushed: 2016-07-20 18:39:42.0
Homepage: null
Size: 25
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A set of tests and associated running and helper code for performing Cross-Platform tests against dash.js.
These tests should be automatically ran once per day (8am GMT), and the resulting logs and video recordings uploaded to http://smp-scratch.s3-website-eu-west-1.amazonaws.com/browserstack/. Just take a look there to see the latest results.
`dist
` directory from dash.js 2.0.0 or newer to a directory named dash in the root of your local checkout`npm install
``BrowserStackLocal -only -f YOUR_KEY PATH_TO_WORKING_DIR -localIdentifier SESSION_IDENTIFIER
``mocha specrunner.js --user YOUR_USER --key YOUR_KEY --identifier SESSION_IDENTIFIER
``mocha specrunner.js --local chrome --url http://localhost/dash.js-browserstack --runner "Win7 Chrome"
`samples/simple-runner.sh does the above, but with some bonuses such as downloading the resulting logs and creating an index to view them. It can be run both in a Jenkins CI environment and locally, with the invocation `samples/simple-runner.sh /path/to/config.json
`. A sample config file would look as follows:
"secure_configuration": {
"browserstack-user": "YOUR_USER",
"browserstack-key": "YOUR_KEY"
}
The logs directory will contain results in the same format used for the daily runs.
This is currently a proof of concept and could do with several key improvements: