1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-23 15:49:44 -05:00
denoland-deno/cli/tests/testdata/test
Bartek Iwańczuk 244926e83c
feat(test): format user code output (#14271)
This commit changes "deno test" to better denote user output coming
from test cases.

This is done by printing "---- output ----" and "---- output end ----"
markers if an output is produced. The output from "console" and
"Deno.core.print" is captured, as well as direct writes to "Deno.stdout"
and "Deno.stderr".

To achieve that new APIs were added to "deno_core" crate, that allow
to replace an existing resource with a different one (while keeping resource
ids intact). Resources for stdout and stderr are replaced by pipes.

Co-authored-by: David Sherret <dsherret@gmail.com>
2022-04-15 14:24:41 +02:00
..
collect feat(cli): add --ignore flag to test command (#11712) 2021-08-24 17:23:29 +02:00
doc_only fix(cli): retain path based test mode inference (#11878) 2021-09-01 18:31:56 +09:00
filter test(cli): add test for test filtering (#11672) 2021-08-13 11:33:18 +02:00
shuffle
steps feat(test): format user code output (#14271) 2022-04-15 14:24:41 +02:00
aggregate_error.out feat(test): Improve testing report output (#14255) 2022-04-11 18:27:17 +02:00
aggregate_error.ts fix(runtime/testing): format aggregate errors (#12183) 2021-09-30 21:54:56 +02:00
allow_all.out feat(test): Improve testing report output (#14255) 2022-04-11 18:27:17 +02:00
allow_all.ts fix: actually don't inherit runtime permissions (#14024) 2022-03-20 22:46:39 +01:00
allow_none.out feat(test): Improve testing report output (#14255) 2022-04-11 18:27:17 +02:00
allow_none.ts
clear_timeout.out feat(test): Improve testing report output (#14255) 2022-04-11 18:27:17 +02:00
clear_timeout.ts
collect.out feat(test): Improve testing report output (#14255) 2022-04-11 18:27:17 +02:00
doc.out
doc.ts
doc_only.out feat(test): Improve testing report output (#14255) 2022-04-11 18:27:17 +02:00
exit_sanitizer.out feat(test): Improve testing report output (#14255) 2022-04-11 18:27:17 +02:00
exit_sanitizer.ts
fail.out feat(test): Improve testing report output (#14255) 2022-04-11 18:27:17 +02:00
fail.ts
fail_fast.out feat(test): Improve testing report output (#14255) 2022-04-11 18:27:17 +02:00
fail_fast.ts
fail_fast_with_val.out
fail_fast_with_val.ts
filter.out feat(test): Improve testing report output (#14255) 2022-04-11 18:27:17 +02:00
finally_timeout.out feat(test): Improve testing report output (#14255) 2022-04-11 18:27:17 +02:00
finally_timeout.ts
ignore.out feat(test): Improve testing report output (#14255) 2022-04-11 18:27:17 +02:00
ignore.ts
ignore_permissions.out feat(test): Improve testing report output (#14255) 2022-04-11 18:27:17 +02:00
ignore_permissions.ts
interval.out feat(test): Improve testing report output (#14255) 2022-04-11 18:27:17 +02:00
interval.ts feat(cli): close test worker once all tests complete (#11727) 2021-09-04 20:19:26 +02:00
load_unload.out feat(test): Improve testing report output (#14255) 2022-04-11 18:27:17 +02:00
load_unload.ts fix(test): dispatch load event before tests are run (#11708) 2021-08-15 13:54:44 +02:00
markdown.md fix(cli): explicitly scan for ignore attribute in inline tests (#11647) 2021-08-14 12:33:58 +02:00
markdown.out fix(cli): explicitly scan for ignore attribute in inline tests (#11647) 2021-08-14 12:33:58 +02:00
markdown_full_block_names.md fix(test): typecheck blocks annotated with long js/ts notations (#13785) 2022-03-08 02:10:40 +01:00
markdown_full_block_names.out fix(test): typecheck blocks annotated with long js/ts notations (#13785) 2022-03-08 02:10:40 +01:00
markdown_windows.md fix(test): support typechecking docs with CRLF line endings (#12748) 2021-11-15 09:58:04 -05:00
markdown_windows.out fix(test): support typechecking docs with CRLF line endings (#12748) 2021-11-15 09:58:04 -05:00
markdown_with_comment.md fix(test): skip typechecking for blocks inside HTML comments (#13889) 2022-03-11 02:14:32 +01:00
markdown_with_comment.out fix(test): skip typechecking for blocks inside HTML comments (#13889) 2022-03-11 02:14:32 +01:00
meta.out feat(test): Improve testing report output (#14255) 2022-04-11 18:27:17 +02:00
meta.ts
no_check.out
no_check.ts
no_color.ts
no_prompt_by_default.out feat(test): Improve testing report output (#14255) 2022-04-11 18:27:17 +02:00
no_prompt_by_default.ts test: update expected test output for 'deno test' (#13882) 2022-03-09 14:48:20 +01:00
no_prompt_with_denied_perms.out feat(test): Improve testing report output (#14255) 2022-04-11 18:27:17 +02:00
no_prompt_with_denied_perms.ts test: update expected test output for 'deno test' (#13882) 2022-03-09 14:48:20 +01:00
no_run.out
no_run.ts
only.out feat(test): Improve testing report output (#14255) 2022-04-11 18:27:17 +02:00
only.ts
ops_sanitizer_missing_details.out feat(test): Improve testing report output (#14255) 2022-04-11 18:27:17 +02:00
ops_sanitizer_missing_details.ts fix(test): don't error on missing op details (#14074) 2022-03-23 00:24:45 +01:00
ops_sanitizer_multiple_timeout_tests.out feat(test): Improve testing report output (#14255) 2022-04-11 18:27:17 +02:00
ops_sanitizer_multiple_timeout_tests.ts feat(test): improved op sanitizer errors + traces (#13676) 2022-02-16 19:53:17 +01:00
ops_sanitizer_multiple_timeout_tests_no_trace.out feat(test): Improve testing report output (#14255) 2022-04-11 18:27:17 +02:00
ops_sanitizer_nexttick.out feat(test): Improve testing report output (#14255) 2022-04-11 18:27:17 +02:00
ops_sanitizer_nexttick.ts fix(test): Improve reliability of deno test's op sanitizer with timers (#12934) 2021-11-30 01:27:30 +01:00
ops_sanitizer_timeout_failure.out feat(test): Improve testing report output (#14255) 2022-04-11 18:27:17 +02:00
ops_sanitizer_timeout_failure.ts fix(test): Improve reliability of deno test's op sanitizer with timers (#12934) 2021-11-30 01:27:30 +01:00
ops_sanitizer_unstable.out feat(test): Improve testing report output (#14255) 2022-04-11 18:27:17 +02:00
ops_sanitizer_unstable.ts feat(test): improved op sanitizer errors + traces (#13676) 2022-02-16 19:53:17 +01:00
overloads.out feat(test): Improve testing report output (#14255) 2022-04-11 18:27:17 +02:00
overloads.ts feat(test): Add more overloads for "Deno.test" (#12749) 2021-11-23 14:57:51 +01:00
pass.out feat(test): Improve testing report output (#14255) 2022-04-11 18:27:17 +02:00
pass.ts
quiet.out feat(test): Improve testing report output (#14255) 2022-04-11 18:27:17 +02:00
quiet.ts
resource_sanitizer.out feat(test): Improve testing report output (#14255) 2022-04-11 18:27:17 +02:00
resource_sanitizer.ts feat(test): better errors for resource sanitizer (#13296) 2022-01-25 17:03:38 +01:00
shuffle.out feat(test): Improve testing report output (#14255) 2022-04-11 18:27:17 +02:00
text.md
text.out feat(test): Improve testing report output (#14255) 2022-04-11 18:27:17 +02:00
unhandled_rejection.out
unhandled_rejection.ts
unresolved_promise.out chore: Fix typo in no-pending-ops error message (#12948) 2021-12-01 15:22:11 +01:00
unresolved_promise.ts feat(cli): close test worker once all tests complete (#11727) 2021-09-04 20:19:26 +02:00