--test-only


将测试运行器配置为仅执行设置了 only 选项的顶层测试。当测试隔离被禁用时,此标志不是必需的。

¥Configures the test runner to only execute top level tests that have the only option set. This flag is not necessary when test isolation is disabled.