-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't exist with non-zero code if ALL failures are SKIP or TODO
- Loading branch information
Showing
4 changed files
with
38 additions
and
4 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
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,12 @@ | ||
<?xml version="1.0"?> | ||
<testsuites> | ||
<testsuite name="passing-with-skip-todo" tests="3" failures="0" skipped="2" errors="0"> | ||
<testcase name="#1 passing"/> | ||
<testcase name="#2 failing but skipped"> | ||
<skipped/> | ||
</testcase> | ||
<testcase name="#3 failing but todo"> | ||
<skipped/> | ||
</testcase> | ||
</testsuite> | ||
</testsuites> |
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,22 @@ | ||
TAP version 13 | ||
# passing-with-skip-todo | ||
ok 1 passing | ||
not ok 2 failing but skipped # SKIP | ||
--- | ||
operator: ok | ||
expected: true | ||
actual: false | ||
at: Test.<anonymous> (/Users/aghassemi/github/tape/test.js:6:5) | ||
... | ||
not ok 3 failing but todo # TODO | ||
--- | ||
operator: ok | ||
expected: true | ||
actual: false | ||
at: Test.<anonymous> (/Users/aghassemi/github/tape/test.js:7:5) | ||
... | ||
|
||
1..3 | ||
# tests 3 | ||
# pass 1 | ||
# fail 2 |