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

# hideSkippedTestFiles

- **Type:** `boolean`
- **Default:** `false`
- **CLI:** `--hideSkippedTestFiles`

Hide logs for skipped test files to reduce noise in the test output, especially when running tests with filters.


**CLI**

```bash
npx rstest --hideSkippedTestFiles
```


**rstest.config.ts**

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

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


## Example

By default, Rstest displays logs for all test files.

```bash
 ✓ test/index.test.ts (1) 1ms
  ✓ Index > should add two numbers correctly (0ms)
 - test/all-skipped.test.ts (2) 1ms

 Test Files 1 passed | 1 skipped
      Tests 1 passed | 2 skipped (3)
   Duration 93ms (build 50ms, tests 43ms)
```

When you set `hideSkippedTestFiles` to `true`, Rstest will hide logs for all skipped test files after the test run is complete.

The output will look like this:

```bash
 ✓ test/index.test.ts (1) 1ms
  ✓ Index > should add two numbers correctly (0ms)

 Test Files 1 passed | 1 skipped
      Tests 1 passed | 2 skipped (3)
   Duration 93ms (build 50ms, tests 43ms)
```
