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

    • Type: string
    • Default: 'rstest' (single project), or inferred from package.json / directory name in projects

    Set the name of the test project. Used in reporter output and to select projects with --project.

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

    Project names must be unique across all entries declared in projects; Rstest errors at startup if two projects share a name.

    When name is omitted on a project inside projects, Rstest uses the name field from that project's package.json, falling back to its directory name. For a standalone run without projects, name defaults to 'rstest'.