mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
feat: Add support for "deno test --fail-fast=N" (#11316)
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>
This commit is contained in:
parent
0bc54a0099
commit
32855f2c85
5 changed files with 113 additions and 9 deletions
|
@ -987,7 +987,7 @@ async fn test_command(
|
|||
include: Option<Vec<String>>,
|
||||
no_run: bool,
|
||||
doc: bool,
|
||||
fail_fast: bool,
|
||||
fail_fast: Option<usize>,
|
||||
quiet: bool,
|
||||
allow_none: bool,
|
||||
filter: Option<String>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue