--- url: /config/dir.md --- # dir * **类型:** `string` * **CLI:** `--dir=` * **默认值:** 与 `root` 相同 用于扫描测试文件的基础目录。如果您的根目录覆盖整个项目,您可以指定此选项以加快测试发现速度。