mirror of
https://github.com/denoland/deno.git
synced 2024-12-27 01:29:14 -05:00
f5e46c9bf2
This looks like a massive PR, but it's only a move from cli/tests -> tests, and updates of relative paths for files. This is the first step towards aggregate all of the integration test files under tests/, which will lead to a set of integration tests that can run without the CLI binary being built. While we could leave these tests under `cli`, it would require us to keep a more complex directory structure for the various test runners. In addition, we have a lot of complexity to ignore various test files in the `cli` project itself (cargo publish exclusion rules, autotests = false, etc). And finally, the `tests/` folder will eventually house the `test_ffi`, `test_napi` and other testing code, reducing the size of the root repo directory. For easier review, the extremely large and noisy "move" is in the first commit (with no changes -- just a move), while the remainder of the changes to actual files is in the second commit.
43 lines
2.1 KiB
Text
43 lines
2.1 KiB
Text
TAP version 14
|
|
# ./test/steps/failing_steps.ts
|
|
# Subtest: nested failure
|
|
not ok 1 - inner 1
|
|
---
|
|
{"message":"Error: Failed.\n throw new Error(\"Failed.\");\n ^\n at [WILDCARD]/failing_steps.ts:[WILDCARD]\n[WILDCARD]","severity":"fail","at":{"file":"./test/steps/failing_steps.ts","line":[WILDCARD]}}
|
|
...
|
|
ok 2 - inner 2
|
|
not ok 3 - step 1
|
|
---
|
|
{"message":"1 test step failed.","severity":"fail","at":{"file":"./test/steps/failing_steps.ts","line":[WILDCARD]}}
|
|
...
|
|
1..3
|
|
not ok 1 - nested failure
|
|
---
|
|
{"message":"1 test step failed.","severity":"fail","at":{"file":"./test/steps/failing_steps.ts","line":[WILDCARD]}}
|
|
...
|
|
# Subtest: multiple test step failures
|
|
not ok 1 - step 1
|
|
---
|
|
{"message":"Error: Fail.\n throw new Error(\"Fail.\");\n ^\n at [WILDCARD]/failing_steps.ts:[WILDCARD]\n[WILDCARD]","severity":"fail","at":{"file":"./test/steps/failing_steps.ts","line":[WILDCARD]}}
|
|
...
|
|
not ok 2 - step 2
|
|
---
|
|
{"message":"Error: Fail.\n await t.step(\"step 2\", () => Promise.reject(new Error(\"Fail.\")));\n ^\n at [WILDCARD]/failing_steps.ts:[WILDCARD]\n[WILDCARD]","severity":"fail","at":{"file":"./test/steps/failing_steps.ts","line":[WILDCARD]}}
|
|
...
|
|
1..2
|
|
not ok 2 - multiple test step failures
|
|
---
|
|
{"message":"2 test steps failed.","severity":"fail","at":{"file":"./test/steps/failing_steps.ts","line":[WILDCARD]}}
|
|
...
|
|
# Subtest: failing step in failing test
|
|
not ok 1 - step 1
|
|
---
|
|
{"message":"Error: Fail.\n throw new Error(\"Fail.\");\n ^\n at [WILDCARD]/failing_steps.ts:[WILDCARD]\n[WILDCARD]","severity":"fail","at":{"file":"./test/steps/failing_steps.ts","line":[WILDCARD]}}
|
|
...
|
|
1..1
|
|
not ok 3 - failing step in failing test
|
|
---
|
|
{"message":"Error: Fail test.\n throw new Error(\"Fail test.\");\n ^\n at [WILDCARD]/failing_steps.ts:[WILDCARD]","severity":"fail","at":{"file":"./test/steps/failing_steps.ts","line":[WILDCARD]}}
|
|
...
|
|
1..3
|
|
error: Test failed
|