diff --git a/docs/CLI.md b/docs/CLI.md index 20191cf7dd7d..4479ccb8e180 100644 --- a/docs/CLI.md +++ b/docs/CLI.md @@ -180,6 +180,10 @@ Make calling deprecated APIs throw helpful error messages. Useful for easing the Alias: `-e`. Use this flag to show full diffs and errors instead of a patch. +### `--filter=` + +Path to a module exporting a filtering function. This method receives a list of tests which can be manipulated to exclude tests from running. Especially useful when used in conjunction with a testing infrastructure to filter known broken. + ### `--findRelatedTests ` Find and run the tests that cover a space separated list of source files that were passed in as arguments. Useful for pre-commit hook integration to run the minimal amount of tests necessary. Can be used together with `--coverage` to include a test coverage for the source files, no duplicate `--collectCoverageFrom` arguments needed. diff --git a/website/versioned_docs/version-25.x/CLI.md b/website/versioned_docs/version-25.x/CLI.md index 4f80c8f951e9..18496a6a39a6 100644 --- a/website/versioned_docs/version-25.x/CLI.md +++ b/website/versioned_docs/version-25.x/CLI.md @@ -184,6 +184,10 @@ Make calling deprecated APIs throw helpful error messages. Useful for easing the Alias: `-e`. Use this flag to show full diffs and errors instead of a patch. +### `--filter=` + +Path to a module exporting a filtering function. This method receives a list of tests which can be manipulated to exclude tests from running. Especially useful when used in conjunction with a testing infrastructure to filter known broken. + ### `--findRelatedTests ` Find and run the tests that cover a space separated list of source files that were passed in as arguments. Useful for pre-commit hook integration to run the minimal amount of tests necessary. Can be used together with `--coverage` to include a test coverage for the source files, no duplicate `--collectCoverageFrom` arguments needed. diff --git a/website/versioned_docs/version-26.x/CLI.md b/website/versioned_docs/version-26.x/CLI.md index 474a8fb4c430..9efe631523f8 100644 --- a/website/versioned_docs/version-26.x/CLI.md +++ b/website/versioned_docs/version-26.x/CLI.md @@ -180,6 +180,10 @@ Make calling deprecated APIs throw helpful error messages. Useful for easing the Alias: `-e`. Use this flag to show full diffs and errors instead of a patch. +### `--filter=` + +Path to a module exporting a filtering function. This method receives a list of tests which can be manipulated to exclude tests from running. Especially useful when used in conjunction with a testing infrastructure to filter known broken. + ### `--findRelatedTests ` Find and run the tests that cover a space separated list of source files that were passed in as arguments. Useful for pre-commit hook integration to run the minimal amount of tests necessary. Can be used together with `--coverage` to include a test coverage for the source files, no duplicate `--collectCoverageFrom` arguments needed.