Tag

#testing

10 prompts
Fix a Bug Without Breaking Things

Find every affected code path and the same bug elsewhere before landing the minimal fix.

Function From Requirements

A typed, documented function built to spec — with three unit tests covering the edge and error cases.

Generate Test Fixtures

Happy path, boundary values, and a deliberate failure case — each with a note on what it covers.

Integration Tests for an API Route

Cover the success path, validation, auth failures, 404s, and side effects of one endpoint.

Landing Page Headline & CTA Testing

Ten headlines and eight CTAs grouped by angle, plus the three combinations most likely to win.

Reproduce an Intermittent Bug

Rank the likely causes of a flaky bug and get a deterministic way to reproduce the top one.

Reproduce, Then Fix

Force a failing test that captures the bug before any fix is allowed to land.

TDD Pair: Failing Test First

Get the failing test and edge cases before any implementation exists — the AI stops after the test.

Test-Coverage Review

List the untested edge cases in a diff, then write the tests that would catch them.

Write Missing Tests

Generate a test suite for untested code covering normal paths, edge cases, and error conditions.