Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/mocha-3.1.2/test/integration/fixtures/options/only/tdd.fixture.js')
-rw-r--r--tests/lib/mocha-3.1.2/test/integration/fixtures/options/only/tdd.fixture.js37
1 files changed, 37 insertions, 0 deletions
diff --git a/tests/lib/mocha-3.1.2/test/integration/fixtures/options/only/tdd.fixture.js b/tests/lib/mocha-3.1.2/test/integration/fixtures/options/only/tdd.fixture.js
new file mode 100644
index 0000000000..987ee6bfba
--- /dev/null
+++ b/tests/lib/mocha-3.1.2/test/integration/fixtures/options/only/tdd.fixture.js
@@ -0,0 +1,37 @@
+'use strict';
+
+suite.only('should run all tests in this tdd suite', function () {
+ test('should run this test #1', function () {});
+
+ test('should run this test #2', function () {});
+
+ test('should run this test #3', function () {});
+
+ test('should run this test #4', function () {});
+});
+
+suite('should not run this suite', function () {
+ test('should not run this test', function () {
+ (true).should.equal(false);
+ });
+
+ test('should not run this test', function () {
+ (true).should.equal(false);
+ });
+
+ test('should not run this test', function () {
+ (true).should.equal(false);
+ });
+});
+
+suite.only('should run this suite too', function () {
+ suite('should run this nested suite', function () {
+ test('should run this test', function () {});
+
+ test('should run this test', function () {});
+
+ test('should run this test', function () {});
+
+ test('should run this test', function () {});
+ });
+});