mirror of
https://github.com/denoland/deno.git
synced 2024-10-31 09:14:20 -04:00
32855f2c85
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>
23 lines
437 B
Text
23 lines
437 B
Text
[WILDCARD]
|
|
running 10 tests from [WILDCARD]/test/fail_fast_with_val.ts
|
|
test test 1 ... FAILED ([WILDCARD])
|
|
test test 2 ... FAILED ([WILDCARD])
|
|
|
|
failures:
|
|
|
|
test 1
|
|
Error
|
|
at [WILDCARD]/test/fail_fast_with_val.ts:2:9
|
|
at [WILDCARD]
|
|
|
|
test 2
|
|
Error
|
|
at [WILDCARD]/test/fail_fast_with_val.ts:5:9
|
|
at [WILDCARD]
|
|
|
|
failures:
|
|
|
|
test 1
|
|
test 2
|
|
|
|
test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out ([WILDCARD])
|