--test-name-pattern
一个正则表达式,将测试运行器配置为仅执行名称与提供的模式匹配的测试。有关详细信息,请参阅 按名称过滤测试 上的文档。
¥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.
如果同时提供了 --test-name-pattern
和 --test-skip-pattern
,则测试必须满足这两个要求才能执行。
¥If both --test-name-pattern
and --test-skip-pattern
are supplied,
tests must satisfy both requirements in order to be executed.