1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00
denoland-deno/tests/integration
Matt Mastracci b6e44f91ad
fix(cli): ensure that pre- and post-test output is flushed at the appropriate times (#22611)
Some `deno_std` tests were failing to print output that was resolved
after the last test finished. In addition, output printed before tests
began would sometimes appear above the "running X tests ..." line, and
sometimes below it depending on timing.

We now guarantee that all output is flushed before and after tests run,
making the output consistent.

Pre-test and post-test output are captured in `------ pre-test output
------` and `------ post-test output ------` blocks to differentiate
them from the regular output blocks.

Here's an example of a test (that is much noisier than normal, but an
example of what the output will look like):

```
Check ./load_unload.ts
------- pre-test output -------
load
----- output end -----
running 1 test from ./load_unload.ts
test ...
------- output -------
test
----- output end -----
test ... ok ([WILDCARD])
------- post-test output -------
unload
----- output end -----
```
2024-02-28 22:12:21 +00:00
..
bench_tests.rs chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00
bundle_tests.rs chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00
cache_tests.rs chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00
cert_tests.rs chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00
check_tests.rs fix(unstable): sloppy imports should resolve .d.ts files during types resolution (#22602) 2024-02-27 18:30:21 +00:00
compile_tests.rs fix(compile): respect compiler options for emit (#22521) 2024-02-21 23:03:11 +00:00
coverage_tests.rs chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00
doc_tests.rs chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00
eval_tests.rs chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00
flags_tests.rs chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00
fmt_tests.rs chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00
info_tests.rs perf(jsr): fast check cache and lazy fast check graph (#22485) 2024-02-20 21:29:57 +00:00
init_tests.rs chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
inspector_tests.rs chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
install_tests.rs chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
js_unit_tests.rs chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00
jsr_tests.rs fix(jsr): do not allow importing a non-JSR url via unanalyzable dynamic import from JSR (#22623) 2024-02-28 16:30:45 -05:00
jupyter_tests.rs chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00
lint_tests.rs feat(unstable/lint): no-slow-types for JSR packages (#22430) 2024-02-19 15:28:41 +00:00
lsp_tests.rs feat(lsp): auto-import completions for jsr specifiers (#22462) 2024-02-21 02:45:00 +00:00
mod.rs chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00
node_compat_tests.rs chore(cli): fix part of flaky test (#22515) 2024-02-21 19:10:51 +00:00
node_unit_tests.rs chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00
npm_tests.rs feat(unstable): single checksum per JSR package in the lockfile (#22421) 2024-02-15 14:49:35 -05:00
publish_tests.rs Revert "fix(publish): error if there are uncommitted changes (#22613)" (#22625) 2024-02-28 21:35:02 +00:00
repl_tests.rs chore: bump deno_core (#22596) 2024-02-27 08:05:57 -07:00
run_tests.rs fix(cli): ensure that pre- and post-test output is flushed at the appropriate times (#22611) 2024-02-28 22:12:21 +00:00
shared_library_tests.rs chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
task_tests.rs chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00
test_tests.rs chore(cli): rename --trace-ops to --trace-leaks (#22598) 2024-02-28 09:12:43 -07:00
upgrade_tests.rs chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
vendor_tests.rs chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00
watcher_tests.rs chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
worker_tests.rs chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00