Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-08-26 | refactor(cli): introduce module specifier test modes (#11769) | Casper Beyer | |
This commit merges the two vectors of specifiers into a single one introducing the concept of a "TestMode" which is a tri-state enum specifying how a specifier is to be tested (as documentation, as an executable module or as both). This is determined during the collection phase and determines how a specifier will be executed based on how the specifier was collected (directly or not) and if it has an eligible media_type when fetched. For example "deno test README.md" is marked as documentation because, while it is a direct inclusion it is not an executable media type therefore will only have the fenced code blocks that can be parsed from it tested. | |||
2021-08-23 | refactor(cli/tools/test): infer disable log from program state (#11803) | Casper Beyer | |
2021-08-23 | refactor(cli/flags): use an optional non zero usize for `fail-fast` (#11804) | Casper Beyer | |
Changes the type of the `fail_fast` flag from `Option<usize>` to `Option<NonZeroUsize>` as an optional value of zero isn't sound. | |||
2021-08-23 | fix(cli/flags): require a non zero usize for concurrent jobs (#11802) | Casper Beyer | |
2021-08-17 | refactor(cli): pass optional op_init to create_main_worker (#11707) | Casper Beyer | |
Replaces the testing flag in create_main_worker with a more general purpose hook to register additional ops. | |||
2021-08-16 | fix: parse error when transpiling code with BOM (#11688) | Ryan Dahl | |
Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2021-08-15 | fix(test): dispatch load event before tests are run (#11708) | Casper Beyer | |
2021-08-14 | fix(cli/lint): don't use gray in diagnostics output for visibility (#11702) | Yusuke Tanaka | |
2021-08-14 | fix(cli): explicitly scan for ignore attribute in inline tests (#11647) | Casper Beyer | |
This commits adds "ignore" as a known attribute for Markdown codeblock which drops a code block early whenever it is seen in documentation tests. | |||
2021-08-14 | fix(cli/tools/repl): dont highlight candidate when completion is list (#11697) | Casper Beyer | |
2021-08-14 | refactor: normalize `is_supported_` check naming (#11698) | Casper Beyer | |
Normalizes the naming of the functions used to determine if a path is a suitable match for the test runner and placed them both in the the fs_util module. | |||
2021-08-13 | refactor(cli): generalize module specifier collection (#11679) | Casper Beyer | |
2021-08-12 | fix(cli): allow specifiers of unknown media types with test command (#11652) | Casper Beyer | |
2021-08-12 | fix(lint): add links to help at lint.deno.land (#11667) | Bartek Iwańczuk | |
2021-08-12 | fix(test): sort file module specifiers (#11656) | Casper Beyer | |
2021-08-11 | chore: move test files to testdata directory (#11601) | David Sherret | |
2021-08-10 | refactor: --unsafely-ignore-certificate-errors (#11629) | Bartek Iwańczuk | |
2021-08-10 | chore: upgrade crates (#11626) | Bartek Iwańczuk | |
2021-08-09 | feat: Add --unsafely-treat-insecure-origin-as-secure flag to disable SSL ↵ | TheAifam5 | |
verification (#11324) This commit adds "--unsafely-treat-insecure-origin-as-secure" flag that allows to disable SSL verification for all domains, or specific domains if they were passed as an argument to the flag. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2021-08-07 | feat(tls): Optionally support loading native certs (#11491) | Justin Chase | |
This commit adds "DENO_TLS_CA_STORE" env variable to support optionally loading certificates from the users local certificate store. This will allow them to successfully connect via tls with corporate and self signed certs provided they have them installed in their keystore. It also allows them to deal with revoked certs by simply updating their keystore without having to upgrade Deno. Currently supported values are "mozilla", "system" or empty value. | |||
2021-08-06 | feat(repl): add --eval flag for evaluating code when the repl starts (#11590) | David Sherret | |
2021-08-06 | feat: ffi to replace plugins (#11152) | Elias Sjögreen | |
This commit removes implementation of "native plugins" and replaces it with FFI API. Effectively "Deno.openPlugin" API was replaced with "Deno.dlopen" API. | |||
2021-08-06 | refactor: make `ParsedModule` implement `Sync` (#11581) | David Sherret | |
2021-07-30 | chore: upgrade Rust to 1.54.0 (#11554) | Yusuke Tanaka | |
2021-07-29 | feat: type check codeblocks in Markdown file with "deno test --doc" (#11421) | Casper Beyer | |
2021-07-29 | fix(cli): deno doc panics on invalid url (#11536) | Feng Yu | |
2021-07-28 | feat(lsp): ability to set DENO_DIR via settings (#11527) | Kitson Kelly | |
Ref: denoland/vscode_deno#287 | |||
2021-07-26 | feat(cli/tools/test): imply media type from doc attribute (#11438) | Casper Beyer | |
2021-07-26 | fix(cli): side-load test modules (#11515) | Casper Beyer | |
This fixes a regression introduced in 1.9 where test modules became main modules by side loading them in a generated module. | |||
2021-07-23 | feat: add --enable-testing-features-do-not-use (#11499) | Luca Casonato | |
This flag does nothing yet. It is added in preparation for the addition of classic workers. | |||
2021-07-22 | fix(cli): normalize test command errors (#11375) | Casper Beyer | |
2021-07-19 | fix(repl): output error without hanging when input is invalid (#11426) | Ayato Tokubi | |
2021-07-14 | refactor(cli/tools/test_runner): split reporter into distinct stages (#11395) | Casper Beyer | |
This splits up the reporter into smaller functions, one for each distinct event that happens during the testing process. | |||
2021-07-14 | refactor(cli/tools/test_runner): make test reporters stateless (#11357) | Casper Beyer | |
This collects summary information in the event collector and passes it to the reporter instead of having this embedded in each reporter which leads to a lot of duplication. | |||
2021-07-12 | feat: Add support for "deno test --fail-fast=N" (#11316) | Yasser A.Idrissi | |
This commit adds support for specifying threshold in the "--fail-fast" flag for "deno test" subcommand. Previously using "--fail-fast" stopped running the test suite after first failure and with this change users may specify number of failed tests that will cause the suite to be interrupted. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2021-07-12 | chore(cli/tools/test_runner): inline execute_module rresults (#11358) | Casper Beyer | |
2021-07-10 | Revert "feat(cli/tools/test_runner): add terse reporter (#11156)" (#11352) | Ryan Dahl | |
it's another flag to understand, more code, and isn't something that anyone really needs. This reverts commit 9d57a4aaeb18461bbeeea30fc8ab8804357185c1. | |||
2021-07-10 | feat(cli/tools/test_runner): add terse reporter (#11156) | Casper Beyer | |
This commit adds "--terse" flag to "deno test" that makes testing reporter output one character per test case instead of one line per case. This is an unstable feature. | |||
2021-07-08 | feat(repl): support autocomplete on declarations containing a primitive (#11325) | David Sherret | |
2021-07-08 | refactor(cli/tools/coverage): strongly type inspector values (#11326) | Casper Beyer | |
2021-07-07 | fix(cli/tools/upgrade): check if passed version is valid (#11296) | Leo K | |
2021-07-07 | fix(cli/tools/lint): output json reports to stdout (#11311) | Casper Beyer | |
2021-07-06 | chore: use parking_lot for synchronization primitives to align with tokio ↵ | David Sherret | |
(#11289) parking_lot is already transitively used in tokio via the "full" cargo feature | |||
2021-07-06 | fix(repl): do not panic when Deno.inspect throws (#11292) | Casper Beyer | |
2021-07-05 | feat(test): add --shuffle flag to randomize test ordering (#11163) | Casper Beyer | |
2021-06-29 | chore: get rid of REPL timeout (#11175) | Bert Belder | |
* Get rid of timeout * Use tokio channel and reduce calls to run_event_loop Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2021-06-29 | fix(cli): pretty print coverage files (#11157) | Casper Beyer | |
2021-06-24 | feat(repl): support import declarations in the REPL (#11086) | David Sherret | |
2021-06-23 | ci: run Linux release builds in sysroot with Ubuntu 18.04 and LLVM (#10920) | Bert Belder | |
2021-06-22 | feat(repl): show list completion (#11001) | Casper Beyer | |