-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Print failures for pending/only forbidden (#2874)
- Loading branch information
1 parent
eaad1e3
commit 81e16c6
Showing
7 changed files
with
106 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
'use strict'; | ||
|
||
describe.only('forbid only - suite marked with only', function () { | ||
it('test1', function () {}); | ||
}); |
6 changes: 6 additions & 0 deletions
6
test/integration/fixtures/options/forbid-pending/before-this.skip.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
'use strict'; | ||
|
||
describe('forbid pending - before calls `skip()`', function () { | ||
it('test', function () {}); | ||
before(function () { this.skip(); }); | ||
}); |
6 changes: 6 additions & 0 deletions
6
test/integration/fixtures/options/forbid-pending/beforeEach-this.skip.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
'use strict'; | ||
|
||
describe('forbid pending - beforeEach calls `skip()`', function () { | ||
it('test', function () {}); | ||
beforeEach(function () { this.skip(); }); | ||
}); |
5 changes: 5 additions & 0 deletions
5
test/integration/fixtures/options/forbid-pending/skip-suite.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
'use strict'; | ||
|
||
describe.skip('forbid pending - suite marked with skip', function () { | ||
it('test1', function () {}); | ||
}); |
7 changes: 7 additions & 0 deletions
7
test/integration/fixtures/options/forbid-pending/this.skip.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
'use strict'; | ||
|
||
describe('forbid pending - test calls `skip()`', function () { | ||
it('test1', function () {}); | ||
it('test2', function () { this.skip(); }); | ||
it('test3', function () {}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters