-
Notifications
You must be signed in to change notification settings - Fork 250
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(test runner): Support for disable bail (#3074)
Add support for disabling the test runner bail using `--disableBail` or `{ "disableBail": true }`. When bail is disabled, all failing tests are reported in `killedBy` and thus end up in the html report's "Tests" view. **API** (all backward compatible): * Change the `MutantRunResult` interface to support an array of tests in `killedBy` (`string` is still supported) * Add `disabeBail` in both the `DryRunOptions` and the `MutantRunOptions` * Support reporting an array of failed tests in `killedBy` in `toMutantRunResult` (while keeping it backward compatible) **Test runners** * Update all `TestRunner` plugins to support disabling bail. **Core** * Update the core to support this new interface * Add new config option `--disableBail` * Deprecate `jest.enableBail`, use `--disableBail` instead.
- Loading branch information
Showing
72 changed files
with
3,210 additions
and
810 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.