summaryrefslogtreecommitdiff
path: root/cli/tests/test
AgeCommit message (Collapse)Author
2021-07-12feat: 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-10Revert "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-10feat(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-05feat(test): add --shuffle flag to randomize test ordering (#11163)Casper Beyer
2021-07-05fix(runtime): ignored tests should not cause permission changes (#11278)Casper Beyer
2021-07-05tests: be more liberal with expectation wildcards (#11279)Casper Beyer
2021-07-05refactor(runtime): reduce duplication in test harness (#11274)Casper Beyer
2021-07-04refactor: use primordials in runtime/, part2 (#11248)Bartek Iwańczuk
2021-07-03refactor: use primordials in runtime/, part1 (#11241)Bartek Iwańczuk
2021-06-29test(cli): harden test runner tests (#11166)Casper Beyer
2021-05-24fix(cli/test): don't use reserved symbol `:` in specifier (#10751)Casper Beyer
2021-05-18chore: update deno_lint binary used in CI to v0.5.0 (#10652)Yusuke Tanaka
2021-05-11feat(test): add support for type checking documentation (#10521)Casper Beyer
This commit adds support for type checking codeblocks in the JS doc comments.
2021-05-02fix(test): change inflection depending on number of pending tests (#10466)Casper Beyer
2021-04-30fix(cli/tools/test): print module tests originate from (#10428)Casper Beyer
2021-04-28feat(test): run test modules in parallel (#9815)Casper Beyer
This commit adds support for running test in parallel. Entire test runner functionality has been rewritten from JavaScript to Rust and a set of ops was added to support reporting in Rust. A new "--jobs" flag was added to "deno test" that allows to configure how many threads will be used. When given no value it defaults to 2.
2021-04-25feat(cli): add test permissions to Deno.test (#10188)Casper Beyer
This commits adds adds "permissions" option to the test definitions which allows tests to run with different permission sets than the process's permission. The change will only be in effect within the test function, once the test has completed the original process permission set is restored. Test permissions cannot exceed the process's permission. You can only narrow or drop permissions, failure to acquire a permission results in an error being thrown and the test case will fail.
2021-03-01test(cli): reorganize test subcommand testcases and fixtures (#9627)Casper Beyer