| 1 |
'use strict'; |
| 2 |
|
| 3 |
suite.only('should run all tests in this tdd suite', function () { |
| 4 |
test('should run this test #1', function () {}); |
| 5 |
|
| 6 |
test('should run this test #2', function () {}); |
| 7 |
|
| 8 |
test('should run this test #3', function () {}); |
| 9 |
|
| 10 |
test('should run this test #4', function () {}); |
| 11 |
}); |
| 12 |
|
| 13 |
suite('should not run this suite', function () { |
| 14 |
test('should not run this test', function () { |
| 15 |
(true).should.equal(false); |
| 16 |
}); |
| 17 |
|
| 18 |
test('should not run this test', function () { |
| 19 |
(true).should.equal(false); |
| 20 |
}); |
| 21 |
|
| 22 |
test('should not run this test', function () { |
| 23 |
(true).should.equal(false); |
| 24 |
}); |
| 25 |
}); |
| 26 |
|
| 27 |
suite.only('should run this suite too', function () { |
| 28 |
suite('should run this nested suite', function () { |
| 29 |
test('should run this test', function () {}); |
| 30 |
|
| 31 |
test('should run this test', function () {}); |
| 32 |
|
| 33 |
test('should run this test', function () {}); |
| 34 |
|
| 35 |
test('should run this test', function () {}); |
| 36 |
}); |
| 37 |
}); |