1 // Learn more about configuring this file at <https://theintern.github.io/intern/#configuration>.
2 // These default settings work OK for most people. The options that *must* be changed below are the
3 // packages, suites, excludeInstrumentation, and (if you want functional tests) functionalSuites
5 // Default desired capabilities for all environments. Individual capabilities can be overridden by any of the
6 // specified browser environments in the `environments` array below as well. See
7 // <https://theintern.github.io/intern/#option-capabilities> for links to the different capabilities options for
10 // Note that the `build` capability will be filled in with the current commit ID or build tag from the CI
11 // environment automatically
13 'browserstack.selenium_version': '2.45.0'
16 // Browsers to run integration testing against. Note that version numbers must be strings if used with Sauce
17 // OnDemand. Options that will be permutated are browserName, version, platform, and platformVersion; any other
18 // capabilities options specified for an environment will be copied as-is
20 { browserName
: 'internet explorer', version
: '11', platform
: 'WIN8' },
21 { browserName
: 'internet explorer', version
: '10', platform
: 'WIN8' },
22 { browserName
: 'internet explorer', version
: '9', platform
: 'WINDOWS' },
23 { browserName
: 'firefox', version
: '37', platform
: [ 'WINDOWS', 'MAC' ] },
24 { browserName
: 'chrome', version
: '39', platform
: [ 'WINDOWS', 'MAC' ] },
25 { browserName
: 'safari', version
: '8', platform
: 'MAC' }
28 // Maximum number of simultaneous integration tests that should be executed on the remote WebDriver service
31 // Name of the tunnel class to use for WebDriver tests.
32 // See <https://theintern.github.io/intern/#option-tunnel> for built-in options
33 tunnel
: 'BrowserStackTunnel',
35 // Configuration options for the module loader; any AMD configuration options supported by the AMD loader in use
37 // If you want to use a different loader than the default loader, see
38 // <https://theintern.github.io/intern/#option-useLoader> for instruction
40 // Packages that should be registered with the loader in each testing environment
41 packages
: [ { name
: 'myPackage', location
: '.' } ]
44 // Non-functional test suite(s) to run in each browser
45 //suites: [ /* 'myPackage/tests/foo', 'myPackage/tests/bar' */ ],
47 'tests/unit/plugin_discoverer'
49 // Functional test suite(s) to execute against each browser once non-functional tests are completed
50 functionalSuites
: [ /* 'myPackage/tests/functional' */ ],
52 // A regular expression matching URLs to files that should not be included in code coverage analysis
53 excludeInstrumentation
: /^(?:tests|node_modules)\//