Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-08-02 | fix(test): race condition for cancelled tests (#15233) | Nayeem Rahman | |
2022-07-18 | feat(cli): support configuring the test tool in the config file (#15079) | Roj | |
2022-07-15 | refactor: allocate IDs for tests (#14729) | Nayeem Rahman | |
2022-07-11 | refactor: rename run_basic to run_local (#15068) | cuobiezi | |
2022-07-01 | refactor: extract `deno_graph::create_graph` use to common function (#15009) | David Sherret | |
2022-07-01 | chore: use Rust 1.62.0 (#15028) | Bartek Iwańczuk | |
2022-06-29 | refactor: rename `RootConfig` to `CliOptions` (#15007) | David Sherret | |
2022-06-28 | refactor: add `RootConfig` (#14985) | David Sherret | |
2022-06-28 | feat(web): add beforeunload event (#14830) | Colin Ihrig | |
This commit adds the 'beforeunload' event. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-06-27 | refactor: create `args` folder (#14982) | David Sherret | |
2022-06-24 | fix: don't error if Deno.bench() or Deno.test() are used in run subcommand ↵ | Bartek Iwańczuk | |
(#14946) | |||
2022-06-20 | refactor: add `EmitCache` trait (#14925) | David Sherret | |
2022-06-15 | fix(check): use "moduleDetection": "force" (#14875) | Nayeem Rahman | |
2022-06-14 | feat(test): update test summary report (#14629) | Mark Ladyshau | |
2022-05-30 | refactor(bench): Allocate IDs for benches (#14757) | Nayeem Rahman | |
2022-05-20 | refactor: upgrade to deno_ast 0.15 (#14680) | David Sherret | |
2022-05-10 | fix: do not panic on `TestOutputPipe::flush` when receiver dropped (#14560) | David Sherret | |
2022-05-10 | chore: fix flaky steps_output_within - part 2 (#14562) | David Sherret | |
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-05-09 | feat(test): Represent uncaught errors (#14513) | Nayeem Rahman | |
This commit adds better reporting of uncaught errors in top level scope of testing files. This change affects both console runner as well as LSP runner. | |||
2022-05-09 | feat(test): change "failures:" headers in test report (#14490) | Bartek Iwańczuk | |
2022-05-05 | feat(test): Show Deno.test() call locations for failures (#14484) | Nayeem Rahman | |
2022-05-04 | chore: fix flaky `steps_output_within` test (#14479) | David Sherret | |
2022-05-01 | fix(test): actually capture stdout and stderr in workers (#14435) | David Sherret | |
2022-04-27 | refactor: Remove PrettyJsError and js_error_create_fn (#14378) | Nayeem Rahman | |
This commit: - removes "fmt_errors::PrettyJsError" in favor of "format_js_error" fn - removes "deno_core::JsError::create" and "deno_core::RuntimeOptions::js_error_create_fn" - adds new option to "deno_runtime::ops::worker_host::init" | |||
2022-04-26 | fix(test): capture worker stdout and stderr in test output (#14410) | David Sherret | |
2022-04-26 | fix(test): capture inherited stdout and stderr for subprocesses in test ↵ | David Sherret | |
output (#14395) | |||
2022-04-18 | feat(test): skip internal stack frames for errors (#14302) | Bartek Iwańczuk | |
This commit changes "deno test" to filter out stack frames if it is beneficial to the user. This is the case when there are stack frames coming from "internal" code below frames coming from user code. Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com> | |||
2022-04-16 | fix(cli/tools/test): Prefix test module paths with "./" (#14301) | Nayeem Rahman | |
2022-04-16 | feat(test): use structured data for JavaScript errors in tests (#14287) | Bartek Iwańczuk | |
This commit rewrites test runner to send structured error data from JavaScript to Rust instead of passing strings. This will allow to customize display of errors in test report (which will be addressed in follow up commits). | |||
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> | |||
2022-04-11 | feat(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-04-11 | feat: Add "deno check" subcommand for type checking (#14072) | Bartek Iwańczuk | |
This commit adds new "deno check" subcommand. Currently it is an alias for "deno cache" with the difference that remote modules don't emit TS diagnostics by default. Prints warning for "deno run" subcommand if "--check" flag is not present and there's no "--no-check" flag. Adds "DENO_FUTURE_CHECK" env variable that allows to opt into new behavior now. | |||
2022-03-30 | feat(lsp): add experimental testing API (#13798) | Kitson Kelly | |
Ref: denoland/vscode_deno#629 | |||
2022-03-29 | refactor(flags): rename CheckFlag to TypecheckMode (#14111) | Bartek Iwańczuk | |
2022-03-11 | fix(compat): cjs/esm interop for dynamic imports (#13792) | Bartek Iwańczuk | |
This commit fixes CJS/ESM interop in compat mode for dynamically imported modules. "ProcState::prepare_module_load" was changed to accept a list of "graph roots" without associated "module kind". That module kind was always hardcoded to "ESM" which is not true for CJS/ESM interop - a CommonJs module might be imported using "import()" function. In such case the root of the graph should have "CommonJs" module kind instead of "ESM". | |||
2022-03-11 | fix(test): skip typechecking for blocks inside HTML comments (#13889) | Geert-Jan Zwiers | |
2022-03-09 | refactor(test): use tokio::sync::mpsc::unbounded_channel (#13881) | Bartek Iwańczuk | |
This causes to block one less thread when running "deno test" subcommand. | |||
2022-03-09 | refactor: add cli/display.rs module (#13879) | Bartek Iwańczuk | |
2022-03-08 | refactor(test): don't spawn additional thread (#13877) | Bartek Iwańczuk | |
2022-03-08 | fix(test): typecheck blocks annotated with long js/ts notations (#13785) | Geert-Jan Zwiers | |
2022-02-25 | feat: deno test --trace-ops (#13770) | Bartek Iwańczuk | |
This commit adds "--trace-ops" flag to "deno test" subcommand. This flag enables saving of stack traces for async ops, that before were always saved. While the feature proved to be very useful it comes with a significant performance hit, it's caused by excessive source mapping of stack frames. | |||
2022-02-24 | chore: upgrade to Rust 1.59 (#13767) | David Sherret | |
2022-02-16 | feat(test): improved op sanitizer errors + traces (#13676) | Luca Casonato | |
This commit improves the error messages for the `deno test` async op sanitizer. It does this in two ways: - it uses handwritten error messages for each op that could be leaking - it includes traces showing where each op was started This "async op tracing" functionality is a new feature in deno_core. It likely has a significant performance impact, which is why it is only enabled in tests. | |||
2022-02-11 | refactor: use `Arc` instead of making copies of `Flags` struct (#13610) | Maxim | |
2022-02-01 | refactor: integrate deno_graph breaking changes (#13495) | Kitson Kelly | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-01-31 | feat(cli): add "--no-clear-screen" flag (#13454) | Zheyu Zhang | |
This commit adds "--no-clear-screen" flag which can be used with "--watch" flag to disable clearing of terminal screen on each file change. | |||
2022-01-15 | chore: upgrade to rust 1.58 (#13377) | David Sherret | |
2022-01-13 | refactor: move transpiling to deno_ast (#13332) | David Sherret | |
2022-01-07 | chore: update copyright to 2022 (#13306) | Ryan Dahl | |
Co-authored-by: Erfan Safari <erfanshield@outlook.com> |