Default to running tests in random order

[Finishes #109197518]
This commit is contained in:
Steve Gravrock
2017-10-27 08:46:24 -07:00
parent ea3cf14ef8
commit e31db20ec7
8 changed files with 26 additions and 7 deletions

View File

@@ -1,8 +1,9 @@
describe("jasmine spec running", function () {
describe("spec running", function () {
var env;
beforeEach(function() {
env = new jasmineUnderTest.Env();
env.randomizeTests(false);
});
it('should assign spec ids sequentially', function() {
@@ -740,8 +741,8 @@ describe("jasmine spec running", function () {
it("should run the tests in a consistent order when a seed is supplied", function(done) {
var actions = [];
env.randomizeTests(true);
env.seed('123456');
env.randomizeTests(true);
env.beforeEach(function () {
actions.push('topSuite beforeEach');