> 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-identical-title

[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 | `"error"`        |


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

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

## Rule Details

Requires unique static test and suite titles within the same scope. Distinct titles make failures and test reports unambiguous.

Test titles and suite titles are tracked separately. Dynamic titles and parameterized titles are ignored because their final values are created at runtime.

## Incorrect

```ts
test('creates a user', () => {});
test('creates a user', () => {});
```

## Correct

```ts
test('creates a user with a name', () => {});
test('rejects a user without a name', () => {});
```
