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

# no-disabled-tests

[Added in v0.7.3](https://github.com/web-infra-dev/rslint/releases/tag/v0.7.3)
## Configuration

| Preset                             | Configured Value |
| ---------------------------------- | ---------------- |
| ✅ rstestPlugin.configs.all         | `"warn"`         |
| ✅ rstestPlugin.configs.recommended | `"warn"`         |


```ts title=rslint.config.ts
import { defineConfig, rstestPlugin } from '@rslint/core';

export default defineConfig([
  rstestPlugin.configs.recommended,
  {
    rules: {
      'rstest/no-disabled-tests': 'error',
    },
  },
]);
```

## Rule Details

Disallows skipped tests and registrations without a callback. Disabled tests hide coverage gaps and make the suite's real status less clear.

`test.todo` and runtime control flow such as `context.skip()` are allowed. The rule recognizes Rstest globals, imports, aliases, and parameterized or fixture-based registrations.

## Incorrect

```ts
test.skip('imports a CSV file', () => {});
test('exports a CSV file');
```

## Correct

```ts
test('imports a CSV file', () => {
  expect(importCsv('name\nAda')).toEqual([{ name: 'Ada' }]);
});

test.todo('exports a CSV file');
```
