Skip to content

Commit 7656856

Browse files
authored
docs: update test projects (#527)
1 parent 1891caa commit 7656856

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

website/docs/en/config/test/projects.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ type Projects = (string | ProjectConfig)[];
1313

1414
- **Default:** `[<rootDir>]`
1515

16-
An array of directories, config files, or glob patterns, or an object to define multiple test projects.
16+
Define multiple test projects. It can be an array of directories, configuration files, or glob patterns, or an object.
1717

18-
`rstest` will run the tests for each project according to the configuration defined in each project, and the test results from all projects will be combined and displayed.
18+
Rstest will run the tests for each project according to the configuration defined in each project, and the test results from all projects will be combined and displayed.
1919

2020
You can filter the specified projects to run by using the [--project](/guide/basic/test-filter#filter-by-project-name) option.
2121

website/docs/zh/config/test/projects.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ type Projects = (string | ProjectConfig)[];
1313

1414
- **默认值:** `[<rootDir>]`
1515

16-
可以是一个目录、配置文件或 glob 模式,也可以是一个对象,用于定义多个测试项目。 `rstest` 将会按照各个项目定义的配置运行对应的测试,所有项目的测试结果将会合并展示。
16+
定义多个测试项目,可以是一个目录、配置文件或 glob 模式,也可以是一个对象。 Rstest 将会按照各个项目定义的配置运行对应的测试,所有项目的测试结果将会合并展示。
1717

1818
你可以通过 [--project](/guide/basic/test-filter#根据项目名称过滤) 选项来过滤运行特定项目。
1919

0 commit comments

Comments
 (0)