v2.4.1 – Support failing tests if there are focused tests
- This release provides a runTestsWithArgs function which runs the passed tests and also overrides the passed ExpectoConfig with the command line parameters.
- Expecto now accepts the command line argument --fail-on-focused-tests, which checks if focused tests exist. This parameter can be set in build scripts and allows CI servers to reject commits that accidentally included focused tests.
If someone has focused a test but not unfocused it before committing, you can now have the CI server go red! ;)