Created
July 15, 2014 01:24
-
-
Save knewter/2796b7fe77e0c334381c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var multiCase = false; | |
define({ | |
// The port on which the instrumenting proxy will listen | |
proxyPort: 9000, | |
// A fully qualified URL to the Intern proxy | |
proxyUrl: 'http://localhost:9000/', | |
// Default desired capabilities for all environments. Individual capabilities can be overridden by any of the | |
// specified browser environments in the `environments` array below as well. See | |
// https://code.google.com/p/selenium/wiki/DesiredCapabilities for standard Selenium capabilities and | |
// https://saucelabs.com/docs/additional-config#desired-capabilities for Sauce Labs capabilities. | |
// Note that the `build` capability will be filled in with the current commit ID from the Travis CI environment | |
// automatically | |
capabilities: { | |
'selenium-version': '2.42.0' | |
}, | |
// Browsers to run integration testing against. Note that version numbers must be strings if used with Sauce | |
// OnDemand. Options that will be permutated are browserName, version, platform, and platformVersion; any other | |
// capabilities options specified for an environment will be copied as-is | |
environments: [ | |
// { browserName: 'internet explorer', version: '9', platform: 'Windows 7' }, | |
// { browserName: 'firefox', version: '28', platform: [ 'OS X 10.9', 'Windows 7', 'Linux' ] }, | |
// { browserName: 'chrome', version: '32', platform: [ 'OS X 10.9' ] }//, 'Windows 7', 'Linux' ] } | |
{ browserName: 'chrome' } | |
// { browserName: 'phantomjs' } | |
], | |
reporters: ['console', 'combined', 'lcovhtml'], | |
// Maximum number of simultaneous integration tests that should be executed on the remote WebDriver service | |
maxConcurrency: 3, | |
// Name of the tunnel class to use for WebDriver tests | |
// tunnel: 'SauceLabsTunnel', | |
tunnel: 'NullTunnel', | |
// The desired AMD loader to use when running unit tests (client.html/client.js). Omit to use the default Dojo | |
// loader | |
useLoader: { | |
'host-node': 'dojo/dojo', | |
//'host-browser': 'node_modules/dojo/dojo.js' | |
'host-browser': '../bower_components/dojo/dojo.js' | |
}, | |
// Configuration options for the module loader; any AMD configuration options supported by the specified AMD loader | |
// can be used here | |
loader: { | |
// Packages that should be registered with the loader in each testing environment | |
packages: [ | |
{ name: 'est_tests', location: './tests' }, | |
{ name: 'prepTemplate', location: './templates' }, | |
{ name: 'dojo', location: './bower_components/dojo' }, | |
{ name: 'dijit', location: './bower_components/dijit' }, | |
{ name: 'dojox', location: './bower_components/dojox' }, | |
{ name: 'EST', location: './javascript' }, | |
{ name: 'PTO', location: './pe2e/javascript' }, | |
{ name: 'amd-plugins', location: './non_bower_components/amd-plugins' } | |
] | |
}, | |
// Non-functional test suite(s) to run in each browser | |
suites: [ 'tests/modules' ], | |
// Functional test suite(s) to run in each browser once non-functional tests are completed | |
functionalSuites: [ /* 'myPackage/tests/functional' */ ], | |
// A regular expression matching URLs to files that should not be included in code coverage analysis | |
excludeInstrumentation: /^(?:tests|node_modules|bower_components|non_bower_components)\// | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment