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/pass-with-no-tests.md.
close
  • English
  • passWithNoTests

    • Type: boolean
    • Default: false
    • CLI: --passWithNoTests

    Pass when no tests are found.

    By default, Rstest marks test failures when no test suites are found. You can allow the test to pass when no tests are found by setting passWithNoTests to true.

    CLI
    rstest.config.ts
    npx rstest --passWithNoTests