> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.

# 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**

```bash
npx rstest --passWithNoTests
```


**rstest.config.ts**

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

export default defineConfig({
  passWithNoTests: true,
});
```

