summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/test/steps
AgeCommit message (Collapse)Author
2022-04-15feat(test): format user code output (#14271)Bartek Iwańczuk
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-11feat(test): Improve testing report output (#14255)Bartek Iwańczuk
Following changes were done in this commit: - remove "test" prefix before each test - use gray color for "running N tests from ..." prompt - use relative path or remote URL instead of full URL in "running N tests from ..." prompt - in "failures" section, add file path/remote URL before the test name Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2022-01-18feat: stabilize test steps API (#13400)David Sherret
2021-11-15feat(unstable/test): include test step pass/fail/ignore counts in final ↵David Sherret
report (#12432)
2021-10-13chore: fix flaky steps_invalid_usage tests (#12422)David Sherret
2021-10-11feat(unstable/test): imperative test steps API (#12190)David Sherret