diff --git a/doc/api/cli.md b/doc/api/cli.md index f08afb737d41b4..cdc47b6dccca94 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -1969,6 +1969,9 @@ A regular expression that configures the test runner to only execute tests whose name matches the provided pattern. See the documentation on [filtering tests by name][] for more details. +If both `--test-name-pattern` and `--test-skip-pattern` are supplied, +tests must satisfy **both** requirements in order to be executed. + ### `--test-only` + +A regular expression that configures the test runner to skip tests +whose name matches the provided pattern. See the documentation on +[filtering tests by name][] for more details. + +If both `--test-name-pattern` and `--test-skip-pattern` are supplied, +tests must satisfy **both** requirements in order to be executed. + ### `--test-timeout`