name

  • Type: string
  • Default: rstest

The name of the test project.

rstest.config.ts
import { defineConfig } from '@rstest/core';

export default defineConfig({
  name: 'node',
});

When you define multiple test projects via projects, it's recommended to give each project a unique name so that you can filter specific projects using the --project option.

If a project's name is not provided, Rstest will use the name field from the current project's package.json. If it does not exist, the folder name will be used instead.