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/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