--test-only
版本历史
| 版本 | 变更 |
|---|---|
| v20.0.0 | 测试运行器现已稳定。 |
| v18.0.0, v16.17.0 | 新增于: v18.0.0, v16.17.0 |
将测试运行器配置为仅执行设置了 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.