1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-15 18:38:53 -05:00
denoland-deno/cli/tests/testdata/test/steps
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
..
failing_steps.out feat(test): Improve testing report output (#14255) 2022-04-11 18:27:17 +02:00
failing_steps.ts feat(unstable/test): imperative test steps API (#12190) 2021-10-11 09:45:02 -04:00
ignored_steps.out feat(test): Improve testing report output (#14255) 2022-04-11 18:27:17 +02:00
ignored_steps.ts feat(unstable/test): imperative test steps API (#12190) 2021-10-11 09:45:02 -04:00
invalid_usage.out feat(test): Improve testing report output (#14255) 2022-04-11 18:27:17 +02:00
invalid_usage.ts chore: fix flaky steps_invalid_usage tests (#12422) 2021-10-13 08:55:12 -04:00
output_within.out feat(test): format user code output (#14271) 2022-04-15 14:24:41 +02:00
output_within.ts feat(test): format user code output (#14271) 2022-04-15 14:24:41 +02:00
passing_steps.out feat(test): Improve testing report output (#14255) 2022-04-11 18:27:17 +02:00
passing_steps.ts feat(unstable/test): imperative test steps API (#12190) 2021-10-11 09:45:02 -04:00