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/integration
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
..
bench_tests.rs fix(bench): require --unstable flag in JavaScript (#14091) 2022-03-23 16:33:42 +01:00
bundle_tests.rs feat: Add "deno check" subcommand for type checking (#14072) 2022-04-11 01:12:51 +02:00
cache_tests.rs chore(tests): use custom temp dir creation for the tests (#14153) 2022-04-01 11:15:37 -04:00
check_tests.rs feat: Add "deno check" subcommand for type checking (#14072) 2022-04-11 01:12:51 +02:00
compat_tests.rs disable flakes (#13962) 2022-03-15 11:19:59 -04:00
compile_tests.rs chore: fix main (#14175) 2022-04-01 11:49:16 -04:00
coverage_tests.rs chore(tests): use custom temp dir creation for the tests (#14153) 2022-04-01 11:15:37 -04:00
doc_tests.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
eval_tests.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
fmt_tests.rs chore(tests): use custom temp dir creation for the tests (#14153) 2022-04-01 11:15:37 -04:00
info_tests.rs chore(tests): use custom temp dir creation for the tests (#14153) 2022-04-01 11:15:37 -04:00
inspector_tests.rs feat: Add "deno check" subcommand for type checking (#14072) 2022-04-11 01:12:51 +02:00
install_tests.rs chore(tests): use custom temp dir creation for the tests (#14153) 2022-04-01 11:15:37 -04:00
lint_tests.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
lsp_tests.rs refactor(lsp): migrate from lspower back to tower-lsp (#14163) 2022-04-03 14:17:30 +10:00
mod.rs feat(test): format user code output (#14271) 2022-04-15 14:24:41 +02:00
repl_tests.rs fix: upgrade to swc_ecmascript 0.143 (#14238) 2022-04-08 12:31:47 -04:00
run_tests.rs feat(ext/web): Add error events for event listener and timer errors (#14159) 2022-04-13 11:50:57 +02:00
task_tests.rs feat(task): add unstable warning to deno task (#13966) 2022-03-15 21:24:07 -04:00
test_tests.rs feat(test): format user code output (#14271) 2022-04-15 14:24:41 +02:00
upgrade_tests.rs chore(tests): use custom temp dir creation for the tests (#14153) 2022-04-01 11:15:37 -04:00
vendor_tests.rs chore(tests): use custom temp dir creation for the tests (#14153) 2022-04-01 11:15:37 -04:00
watcher_tests.rs feat: Add "deno check" subcommand for type checking (#14072) 2022-04-11 01:12:51 +02:00
worker_tests.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00