Prompt·Testing and security·T02

Tests that can't fail

Finds tests that pass no matter what.

Markdown
Prompt
Find tests that would continue passing if the underlying feature stopped working. Examine mocks, fixtures, assertions, and tests that merely reproduce implementation details.
What it returns
For each suspect test, break the feature on purpose and show the test still passes.
Skip it when
Brand-new test suites written before the code.
Changes
Adds a test that shows it
Sessions
One session
Tools
Repository and the test runner.
Also called
Tests that cannot fail meaningfully

Skills it uses

Related prompts

More in Testing and security.