Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-02-10 | chore: move cli/tests/ -> tests/ (#22369) | Matt Mastracci | |
This looks like a massive PR, but it's only a move from cli/tests -> tests, and updates of relative paths for files. This is the first step towards aggregate all of the integration test files under tests/, which will lead to a set of integration tests that can run without the CLI binary being built. While we could leave these tests under `cli`, it would require us to keep a more complex directory structure for the various test runners. In addition, we have a lot of complexity to ignore various test files in the `cli` project itself (cargo publish exclusion rules, autotests = false, etc). And finally, the `tests/` folder will eventually house the `test_ffi`, `test_napi` and other testing code, reducing the size of the root repo directory. For easier review, the extremely large and noisy "move" is in the first commit (with no changes -- just a move), while the remainder of the changes to actual files is in the second commit. | |||
2023-04-06 | chore: fix flaky tests checking ms when CI is slow (#18559) | David Sherret | |
2022-08-04 | fix(test): output parallel test results independently (#15399) | Nayeem Rahman | |
2022-05-09 | feat(test): repeat test name if there's user output (#14495) | Bartek Iwańczuk | |
This commit changes test report output to repeat test name before printing result, but only if there's user output, denoted by markers. | |||
2022-04-16 | fix(cli/tools/test): Prefix test module paths with "./" (#14301) | Nayeem Rahman | |
2022-04-15 | feat(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> |