projects
- Type:
- Default:
undefined(runs the root directory as a single project)
Run multiple test projects in a single Rstest process and combine all results in the output. Each entry in the array can be a directory path, config file path, glob pattern, or inline project configuration object.
rstest.config.ts
Use defineInlineProject() (requires name) for object items in a projects array, and defineProject() (which can infer name) for top-level exports of project config files.
To run only specific projects from the command line, pass --project <name> (supports wildcards). See Test projects for directory/glob entries, sharing configs, global options, and nested projects.