Debian Codegraph @

dojox/store/tests/intern.js

raw symbols SCIP
1 // Learn more about configuring this file at <https://github.com/theintern/intern/wiki/Configuring-Intern>.
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.
4
5 var dojoConfig = {
6 async: true,
7 requestProvider: 'dojo/request/registry'
8 };
9
10 define([ 'intern/dojo/has' ], function (has) {
11 return {
12 // The port on which the instrumenting proxy will listen
13 proxyPort: 9000,
14
15 // A fully qualified URL to the Intern proxy
16 proxyUrl: 'http://localhost:9001/',
17
18 // Default desired capabilities for all environments. Individual capabilities can be overridden by any of the
19 // specified browser environments in the `environments` array below as well. See
20 // https://code.google.com/p/selenium/wiki/DesiredCapabilities for standard Selenium capabilities and
21 // https://saucelabs.com/docs/additional-config#desired-capabilities for Sauce Labs capabilities.
22 // Note that the `build` capability will be filled in with the current commit ID from the Travis CI environment
23 // automatically
24 capabilities: {
25 'selenium-version': '2.48.2'
26 },
27
28 // Browsers to run integration testing against. Note that version numbers must be strings if used with Sauce
29 // OnDemand. Options that will be permutated are browserName, version, platform, and platformVersion; any other
30 // capabilities options specified for an environment will be copied as-is
31 environments: [
32 /* NOTE: Leaving Edge and old IE commented out intentionally for now */
33 /*{ browserName: 'edge', version: '20', platform: 'Windows 10', 'prerun': 'http://localhost:9001/tests-intern/support/prerun.bat' },*/
34 { browserName: 'internet explorer', version: '11', platform: ['Windows 10', 'Windows 8.1'], 'prerun': 'http://localhost:9001/tests-intern/support/prerun.bat' },
35 { browserName: 'internet explorer', version: '10', platform: 'Windows 8', 'prerun': 'http://localhost:9001/tests-intern/support/prerun.bat' },
36 { browserName: 'internet explorer', version: [ '9', '10' ], platform: 'Windows 7', 'prerun': 'http://localhost:9001/tests-intern/support/prerun.bat' },
37 /*{ browserName: 'internet explorer', version: [ '6', '7', '8' ], platform: 'Windows XP', 'prerun': 'http://localhost:9001/tests-intern/support/prerun.bat' },*/
38 { browserName: 'firefox', version: '43', platform: [ 'OS X 10.10', 'Windows 10', 'Windows 7', 'Windows XP', 'Linux' ] },
39 { browserName: 'chrome', version: '', platform: [ 'Linux', 'OS X 10.8', 'OS X 10.9', 'Windows XP', 'Windows 7', 'Windows 8', 'Windows 8.1' ] },
40 { browserName: 'safari', version: '6', platform: 'OS X 10.8' },
41 { browserName: 'safari', version: '7', platform: 'OS X 10.9' },
42 { browserName: 'safari', version: '8', platform: 'OS X 10.10' },
43 { browserName: 'safari', version: '9', platform: 'OS X 10.11' }
44 ],
45
46 // Maximum number of simultaneous integration tests that should be executed on the remote WebDriver service
47 maxConcurrency: 3,
48
49 // Tunnel
50 tunnel: 'SauceLabsTunnel',
51
52 // Connection information for the remote WebDriver service. If using Sauce Labs, keep your username and password
53 // in the SAUCE_USERNAME and SAUCE_ACCESS_KEY environment variables unless you are sure you will NEVER be
54 // publishing this configuration file somewhere
55 webdriver: {
56 host: 'localhost',
57 port: 4444
58 },
59
60 loaders: {
61 'host-browser': '../../../dojo/dojo.js'
62 },
63
64 // Configuration options for the module loader; any AMD configuration options supported by the specified AMD
65 // loader can be used here
66 loaderOptions: {
67 baseUrl: has('host-browser') ? '../../../' : undefined,
68 packages: [
69 { name: 'dojo', location: 'dojo' },
70 { name: 'dojox', location: 'dojox' }
71 ]/*
72 // Packages that should be registered with the loader in each testing environment
73 packages: [ { name: 'dojo-testing', location: '.' } ],
74 map: {
75 'dojo-testing': {
76 'dojo': 'dojo-testing',
77 'intern/dojo': 'intern/node_modules/dojo'
78 }
79 }*/
80 },
81
82 // Non-functional test suite(s) to run in each browser
83 suites: [ 'dojox/store/tests/all' ],
84
85 // A regular expression matching URLs to files that should not be included in code coverage analysis
86 excludeInstrumentation: /^(?:node_modules|tests-intern|tests)\//
87 };
88 });