aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/test/intern.js
blob: 984906c4ea9c328fae2a3ef3d816652f7ba7a9ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* jshint node:true */
define(['intern'], function (intern) {
  var useBrowserStack = intern.args.useBrowserStack,
      tunnel = useBrowserStack ? 'BrowserStackTunnel' : 'NullTunnel';

  return {
    excludeInstrumentation: /(test|third-party|node_modules)\//,

    defaultTimeout: 60 * 1000,

    reporters: [
      { id: 'Runner' },
      { id: 'Lcov' },
      { id: 'LcovHtml', directory: 'target/web-tests' }
    ],

    suites: [
      'test/unit/application.spec'
    ],

    functionalSuites: [
      'test/medium/users.spec'
    ],

    tunnel: tunnel,
    environments: [
      { browserName: 'firefox' }
    ]
  };
});