projects
- Type:
- Default:
[<rootDir>]
Define multiple test projects. It can be an array of directories, configuration files, or glob patterns, or an object.
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.
Use defineInlineProject() for object items in any projects array, including nested projects. Use defineProject() only for the top-level export of a project config file.
defineProject() can omit name on the exported project and let Rstest infer it using the name option rules. defineInlineProject() requires name for each inline project item.
More information about projects can be found in Test projects.