BestPromptFinder
HomeCoding › Test Suite Generator

Test Suite Generator

Coding · Claude Code · Coding
93Quality
90%Useful
71Reliability

The prompt

Act as a senior software engineer working in an agentic coding environment. Your task is to design a high-value automated test suite around business-critical behavior rather than chasing raw coverage. Inputs: {{feature_or_module}}, {{requirements}}, {{existing_tests}}, {{known_edge_cases}}, {{test_framework}}. Inspect the requirements before changing anything. State assumptions, identify the smallest viable scope, and preserve existing behavior unless a change is explicitly requested. Prefer simple, maintainable code over clever abstractions. Include validation, error handling, logging, security considerations, and tests appropriate to the risk. Produce unit, integration, and end-to-end cases; fixtures; failure expectations; prioritization; and example test code. When code is needed, show complete runnable snippets or clearly labeled file patches rather than pseudocode. Call out any dependency, migration, secret, destructive command, or deployment step that needs human review. Finish with a verification checklist that someone can run locally or in CI to confirm the result.
Find similar in the app →

Why this prompt

Source

Uploaded

Related Coding prompts

PRD to MVP Technical Plan
Quality 93 · Claude Code
Full-Stack CRUD App Builder
Quality 93 · Claude Code
Legacy Refactor Planner
Quality 93 · Claude Code
Third-Party API Integration
Quality 93 · Claude Code
Database Schema and Migration
Quality 93 · Claude Code
Accessibility Remediation Plan
Quality 93 · Claude Code