1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-28 16:20:57 -05:00
denoland-deno/cli/tests/testdata
Valentin Anger a526cff0a9
feat(cli/tools): add TAP test reporter (#14390) (#20073)
This PR adds a test reporter for the [Test Anything
Protocol](https://testanything.org).

It makes the following implementation decisions:
- No TODO pragma, as there is no such marker in `Deno.test`
- SKIP pragma for `ignore`d tests
- Test steps are treated as TAP14 subtests
  - Support for this in consumers seems spotty
- Some consumers will incorrectly interpret these markers, resulting in
unexpected output
- Considering the lack of support, and to avoid implementation
complexity,
subtests are at most one level deep (all test steps are in the same
subtest)
- To accommodate consumers that use comments to indicate test-suites
(unspecced)
  - The test module path is output as a comment
  - This is disabled for `--parallel` testing
- Failure diagnostics are output as JSON, which is also valid YAML
- The structure is not specified, so the format roughly follows the spec
example:
  ```
  ---
  message: "Failed with error 'hostname peebles.example.com not found'"
  severity: fail
  found:
    hostname: 'peebles.example.com'
    address: ~
  wanted:
    hostname: 'peebles.example.com'
    address: '85.193.201.85'
  at:
    file: test/dns-resolve.c
    line: 142
  ...
  ```
2023-08-26 01:19:23 +02:00
..
assets chore(core): fix flaky flock_test on windows (#19477) 2023-06-12 20:30:29 +00:00
bench feat(bench): print iter/s in the report (#19994) 2023-08-01 23:55:23 +00:00
benches refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
bundle feat: upgrade deno_ast to 0.26 (#18795) 2023-04-21 21:16:25 +00:00
cache perf: more efficient deno cache and npm package info usage (#16592) 2022-11-11 11:33:57 -05:00
cert fix: retry module download once if server errored (#17252) 2023-08-01 10:52:28 +02:00
check fix: deno diagnostic - clarify where to put triple-slash directive (#20009) 2023-08-01 15:27:25 +00:00
commonjs refactor(ext/node): untangle dependencies between js files (#18284) 2023-03-20 14:05:13 -04:00
compile chore: Use relative paths for assert imports to avoid test flakes (#19427) 2023-06-08 18:10:37 +00:00
coverage chore: upgrade to dprint 0.39 (#19768) 2023-07-08 18:34:08 +00:00
doc chore: update deno_doc (#16515) 2022-11-02 18:51:37 +01:00
dynamic_import feat(cli): don't check permissions for statically analyzable dynamic imports (#18713) 2023-04-26 16:23:28 -04:00
encoding chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
eval refactor: merge Deno & Node inspectors (#18691) 2023-04-30 07:24:13 +00:00
file_extensions fix(cli): restore deno run - to handle stdin as typescript (#18391) 2023-03-23 12:45:43 -04:00
fmt feat: add support for globs in the config file and CLI arguments for files (#19102) 2023-05-23 03:39:59 +02:00
import_assertions refactor: merge Deno & Node inspectors (#18691) 2023-04-30 07:24:13 +00:00
import_maps feat: embed import map in the config file (#17478) 2023-01-25 21:13:40 +01:00
info fix: deno info should respect import map (#19781) 2023-07-25 18:23:43 +02:00
inspector feat: add --inspect-wait flag (#17001) 2022-12-12 15:33:30 +01:00
install feat: subcommands type-check only local files by default (#14623) 2022-05-17 23:53:42 +02:00
jsx feat: suggest adding a "node:" prefix for bare specifiers that look like built-in Node modules (#17519) 2023-01-24 15:14:49 -05:00
lint feat: add support for globs in the config file and CLI arguments for files (#19102) 2023-05-23 03:39:59 +02:00
lockfile chore: reconfigure windows builder storage (#19601) 2023-06-28 13:41:47 -06:00
lsp fix(lsp): remove quotes and period surrounding specifier in uncached messages (#19794) 2023-07-11 02:27:22 +00:00
malformed_config feat: auto-discover config file (#13313) 2022-01-17 20:10:17 -05:00
module_graph chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
node chore: deno_core -> 0.201.0 (#20135) 2023-08-12 19:04:45 +00:00
npm refactor: upgrade deno_ast 0.28 and deno_semver 0.4 (#20193) 2023-08-21 09:53:52 +00:00
package_json refactor: upgrade deno_ast 0.28 and deno_semver 0.4 (#20193) 2023-08-21 09:53:52 +00:00
repl refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
run fix(ext/web): add stream tests to detect v8slice split bug (#20253) 2023-08-23 17:03:05 -06:00
runtime refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
subdir fix(unstable): vendor cache should support adding files to hashed directories (#20070) 2023-08-06 12:25:48 -04:00
task fix(npm): run pre and post tasks if present (#19178) 2023-05-18 15:51:17 -04:00
test feat(cli/tools): add TAP test reporter (#14390) (#20073) 2023-08-26 01:19:23 +02:00
tls fix(ext/net): implement a graceful error on an invalid SSL certificate (#20157) 2023-08-15 00:11:12 +00:00
tsc chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
tsc2 chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
type_definitions chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
types refactor: move out test files from root testdata directory into sub directories (#15949) 2022-09-19 10:32:21 -04:00
vendor feat(vendor): support for npm specifiers (#19186) 2023-05-19 22:39:27 +00:00
webcrypto fix(ext/crypto): decode id-RSASSA-PSS with default params (#12147) 2021-10-01 11:14:16 +02:00
workers fix(runtime): navigator.userAgent in web worker (#20129) 2023-08-15 17:04:36 +02:00
cat.ts chore: update std submodule and its imports (#17408) 2023-01-15 21:09:26 +01:00
echo.ts chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
echo_server.ts chore: update std submodule and its imports (#17408) 2023-01-15 21:09:26 +01:00
error_cause_recursive_aggregate.ts feat(cli): show error cause recursion information (#16384) 2022-10-26 15:37:45 +02:00
error_cause_recursive_aggregate.ts.out feat(cli): show error cause recursion information (#16384) 2022-10-26 15:37:45 +02:00
error_cause_recursive_tail.ts fix: add error cause in recursive cause tail (#16306) 2022-10-16 21:16:46 +02:00
error_cause_recursive_tail.ts.out feat(cli): show error cause recursion information (#16384) 2022-10-26 15:37:45 +02:00
navigator_language.ts feat: introduce navigator.language (#12322) 2022-10-18 15:33:35 +02:00
navigator_languages.ts feat: introduce navigator.language (#12322) 2022-10-18 15:33:35 +02:00
spawn_kill_permissions.ts chore(cli): Don't assume deno is in path for spawn_kill_permissions (#19198) 2023-05-22 09:54:58 -06:00
symlink_to_subdir chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00