-
Notifications
You must be signed in to change notification settings - Fork 781
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test: Enable more CLI tests on Windows
- Loading branch information
Showing
10 changed files
with
159 additions
and
181 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,20 @@ | ||
# name: report assert.throws() failures properly | ||
# command: ["qunit", "assert-throws-failure.js"] | ||
|
||
TAP version 13 | ||
not ok 1 Throws match > bad | ||
--- | ||
message: match error | ||
severity: failed | ||
actual : Error: Match me with a pattern | ||
expected: "/incorrect pattern/" | ||
stack: | | ||
at /qunit/test/cli/fixtures/assert-throws-failure.js:3:12 | ||
... | ||
1..1 | ||
# pass 0 | ||
# skip 0 | ||
# todo 0 | ||
# fail 1 | ||
|
||
# exit code: 1 |
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,26 @@ | ||
# name: assert.async() handled after fail in other test | ||
# command: ["qunit", "drooling-done.js"] | ||
|
||
TAP version 13 | ||
not ok 1 Test A | ||
--- | ||
message: |+ | ||
Died on test #2: this is an intentional error | ||
at /qunit/test/cli/fixtures/drooling-done.js:5:7 | ||
at internal | ||
severity: failed | ||
actual : null | ||
expected: undefined | ||
stack: | | ||
Error: this is an intentional error | ||
at /qunit/test/cli/fixtures/drooling-done.js:8:9 | ||
... | ||
ok 2 Test B | ||
1..2 | ||
# pass 1 | ||
# skip 0 | ||
# todo 0 | ||
# fail 1 | ||
|
||
# exit code: 1 | ||
|
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,26 @@ | ||
# name: assert.async() handled again in other test | ||
# command: ["qunit", "drooling-extra-done.js"] | ||
|
||
TAP version 13 | ||
ok 1 Test A | ||
not ok 2 Test B | ||
--- | ||
message: |+ | ||
Died on test #2: Unexpected release of async pause during a different test. | ||
> Test: Test A [async #1] | ||
at /qunit/test/cli/fixtures/drooling-extra-done.js:13:7 | ||
at internal | ||
severity: failed | ||
actual : null | ||
expected: undefined | ||
stack: | | ||
Error: Unexpected release of async pause during a different test. | ||
> Test: Test A [async #1] | ||
... | ||
1..2 | ||
# pass 1 | ||
# skip 0 | ||
# todo 0 | ||
# fail 1 | ||
|
||
# exit code: 1 |
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 |
---|---|---|
|
@@ -7,4 +7,4 @@ ok 1 Second > 1 | |
# pass 1 | ||
# skip 0 | ||
# todo 0 | ||
# fail 0 | ||
# fail 0 |
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,19 @@ | ||
# command: ["qunit", "only-module-flat.js"] | ||
|
||
TAP version 13 | ||
not ok 1 # TODO module B > test B | ||
--- | ||
message: not implemented yet | ||
severity: todo | ||
actual : false | ||
expected: true | ||
stack: | | ||
at /qunit/test/cli/fixtures/only-module-flat.js:8:14 | ||
... | ||
ok 2 # SKIP module B > test C | ||
ok 3 module B > test D | ||
1..4 | ||
# pass 2 | ||
# skip 1 | ||
# todo 1 | ||
# fail 0 |
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,23 @@ | ||
# name: module.only() nested | ||
# command: ["qunit", "only-module.js"] | ||
|
||
TAP version 13 | ||
not ok 1 # TODO module B > Only this module should run > a todo test | ||
--- | ||
message: not implemented yet | ||
severity: todo | ||
actual : false | ||
expected: true | ||
stack: | | ||
at /qunit/test/cli/fixtures/only-module.js:17:18 | ||
... | ||
ok 2 # SKIP module B > Only this module should run > implicitly skipped test | ||
ok 3 module B > Only this module should run > normal test | ||
ok 4 module D > test D | ||
ok 5 module E > module F > test F | ||
ok 6 module E > test E | ||
1..8 | ||
# pass 6 | ||
# skip 1 | ||
# todo 1 | ||
# fail 0 |
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,25 @@ | ||
# name: assert.async() handled too often | ||
# command: ["qunit", "too-many-done-calls.js"] | ||
|
||
TAP version 13 | ||
not ok 1 Test A | ||
--- | ||
message: |+ | ||
Died on test #2: Tried to release async pause that was already released. | ||
> Test: Test A [async #1] | ||
at /qunit/test/cli/fixtures/too-many-done-calls.js:1:7 | ||
at internal | ||
severity: failed | ||
actual : null | ||
expected: undefined | ||
stack: | | ||
Error: Tried to release async pause that was already released. | ||
> Test: Test A [async #1] | ||
... | ||
1..1 | ||
# pass 0 | ||
# skip 0 | ||
# todo 0 | ||
# fail 1 | ||
|
||
# exit code: 1 |
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
Oops, something went wrong.