diff --git a/doc/api/cli.md b/doc/api/cli.md index b6efd5e6fcc..aea149ea15e 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -1982,6 +1982,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`