# no-skipped-test

Disallow skipped tests and suites

A skipped test or suite leaves expected behavior unverified while the test run can still pass.
Instead, you SHOULD restore the test or remove obsolete coverage.

- Category: suspicious
- Level: warning
- Fix: none
- Scope: module

## Reported

```ds title="main.ds"
import { test } from "destack:test";

test.skip("adds values", () => {
    // ...
});
```

## Accepted

```ds title="main.ds"
import { test } from "destack:test";

test("adds values", () => {
    // ...
});
```

## Prior art

- [eslint-plugin-jest · no-disabled-tests](https://github.com/jest-community/eslint-plugin-jest/blob/main/docs/rules/no-disabled-tests.md)
- [eslint-plugin-playwright · no-skipped-test](https://github.com/playwright-community/eslint-plugin-playwright/blob/main/docs/rules/no-skipped-test.md)

[language/linter/src/rules/suspicious/no_skipped_test.rs:6](https://github.com/destack-sh/destack/blob/main/language/linter/src/rules/suspicious/no_skipped_test.rs#L6)
