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.
More information about projects can be found in Test projects.
Projects in browser mode
When you use projects with Browser Mode, each project compiles and executes with its own build config, which lets you keep different stacks or build setups in one repository.
In the same run, browser launch options must stay consistent across browser projects:
providerbrowserheadlessportstrictPort
So mixing multiple providers, or multiple browser types, in one run is not supported yet.
You can still mix Browser Mode projects with testEnvironment: 'node'/'jsdom' projects in one projects list, and results will be merged in the final report.