For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /config/test/name.md.
close
  • English
  • name

    • Type: string
    • Default: rstest

    The name of the test project.

    rstest.config.ts
    import { defineConfig } from '@rstest/core';
    
    export default defineConfig({
      name: 'node',
    });

    Project names must be unique across all projects declared through projects; Rstest reports an error at startup when two projects share a name. Use the --project option to filter projects by name.

    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.