build: randomize execution order of tests (#5425)

* Randomizes the order of test execution inside of Jasmine / Karma.
This commit is contained in:
Paul Gschwendtner
2017-07-07 00:50:05 +02:00
committed by mmalerba
parent 448db8b416
commit 95590613cc
+8 -1
View File
@@ -87,8 +87,15 @@ module.exports = (config) => {
browserConsoleLogOptions: {
terminal: true,
level: 'log'
}
},
client: {
jasmine: {
// Always execute the tests in a random order to ensure that tests don't depend
// accidentally on other tests.
random: true
}
}
});
if (process.env['TRAVIS']) {