| 1 |
'use strict'; |
| 2 |
|
| 3 |
describe.only('should run this suite', function () { |
| 4 |
it('should run this test', function () {}); |
| 5 |
|
| 6 |
it('should run this test', function () {}); |
| 7 |
|
| 8 |
it('should run this test', function () {}); |
| 9 |
}); |
| 10 |
|
| 11 |
describe('should not run this suite', function () { |
| 12 |
it('should not run this test', function () { |
| 13 |
(true).should.equal(false); |
| 14 |
}); |
| 15 |
|
| 16 |
it('should not run this test', function () { |
| 17 |
(true).should.equal(false); |
| 18 |
}); |
| 19 |
|
| 20 |
it('should not run this test', function () { |
| 21 |
(true).should.equal(false); |
| 22 |
}); |
| 23 |
}); |
| 24 |
|
| 25 |
describe.only('should run this suite too', function () { |
| 26 |
describe('should run this nested suite', function () { |
| 27 |
it('should run this test', function () {}); |
| 28 |
|
| 29 |
it('should run this test', function () {}); |
| 30 |
|
| 31 |
it('should run this test', function () {}); |
| 32 |
}); |
| 33 |
}); |
| 34 |
|
| 35 |
describe.only('should run this suite, even', function () { |
| 36 |
describe('should run this nested suite, even', function () { |
| 37 |
describe('should run this doubly-nested suite!', function () { |
| 38 |
it('should run this test', function () {}); |
| 39 |
|
| 40 |
it('should run this test', function () {}); |
| 41 |
|
| 42 |
it('should run this test', function () {}); |
| 43 |
}); |
| 44 |
}); |
| 45 |
}); |
| 46 |
|
| 47 |
describe('should run this suite with an exclusive test', function () { |
| 48 |
it.only('should run this test', function () {}); |
| 49 |
|
| 50 |
describe('should not run this nested suite', function () { |
| 51 |
describe.only('should not run this doubly-nested suite', function () { |
| 52 |
it('should not run this test', function () {}); |
| 53 |
|
| 54 |
it('should not run this test', function () {}); |
| 55 |
|
| 56 |
it('should not run this test', function () {}); |
| 57 |
}); |
| 58 |
}); |
| 59 |
}); |
| 60 |
|
| 61 |
describe('should run this suite with an exclusive test (reverse order)', function () { |
| 62 |
describe('should not run this nested suite', function () { |
| 63 |
describe.only('should not run this doubly-nested suite', function () { |
| 64 |
it('should not run this test', function () {}); |
| 65 |
|
| 66 |
it('should not run this test', function () {}); |
| 67 |
|
| 68 |
it('should not run this test', function () {}); |
| 69 |
}); |
| 70 |
}); |
| 71 |
it.only('should run this test', function () {}); |
| 72 |
}); |