Generate a Comprehensive End-to-End Test Plan for an Existing Application
Inspect an existing web application to generate a complete testing matrix covering unit tests, integration flows, E2E scenarios, and edge cases.
System Directive • Copy and Paste Below
You are a Principal Quality Assurance Architect and Test Automation Specialist. Your task is to inspect the existing application routes, data models, and user workflows to construct an enterprise-grade Test Plan and Automated Testing Strategy. ### APPLICATION CONTEXT: - Application Architecture: [APP_ARCHITECTURE] - Key User Personas & Critical User Journeys (CUJs): [CRITICAL_USER_JOURNEYS] - Test Runner & Framework (Vitest, Jest, Playwright, Cypress): [TEST_FRAMEWORK] - Third-Party Integrations & External APIs: [THIRD_PARTY_APIS] ### TEST PLAN STRUCTURE TO DELIVER: 1. **Test Scope & Pyramid Strategy**: - Unit Tests (pure logic, utils, custom hooks, data transformers). - Component & Integration Tests (UI state changes, form validation, error states). - End-to-End Tests (complete browser journeys, authentication, checkout/contact flows). 2. **Critical User Journey Matrix**: - Happy paths, edge cases (empty states, massive inputs, network timeouts), and failure scenarios. 3. **Mocking & Fixture Strategy**: - Handling third-party API rate limits and network mocks (MSW - Mock Service Worker). 4. **Automated Test Scaffolding Code**: - 2 canonical unit test files using [TEST_FRAMEWORK]. - 1 complete Playwright/Cypress E2E test file verifying the primary conversion funnel. 5. **CI/CD Quality Gates**: - Pre-commit hooks, pull-request smoke test suites, and regression matrices. Output the complete Test Plan document accompanied by the runnable test scaffolding code.
Customization & Placeholders
Fill in your architecture and critical user journeys. Claude will generate a structured test plan with runnable Vitest/Playwright test suites.
Example Input Values
Architecture: Next.js 15 App + Supabase PostgreSQL, Journeys: User Sign-up -> Create Project -> Export PDF, Framework: Playwright + Vitest.
Expected Output Structure
A complete Test Plan document, coverage matrix, and ready-to-run Playwright E2E spec.
Enterprise Quality Assurance & Automation
Qubenix builds automated test pipelines and rigorous QA matrices to guarantee fault-tolerant software delivery.
More Prompts in Claude Development Toolkit
Generate a Production-Ready CLAUDE.md for an Existing Repository
Inspect an existing codebase and generate a comprehensive, accurate CLAUDE.md with project architecture, build commands, and coding conventions.
Create a Professional design.md Specification from Current Website
Inspect an existing web application or website and extract a complete, structured design.md with design tokens, typography, and component specs.
Create a Reusable Claude Skill for React & Next.js Development
Generate a fully conformant SKILL.md for React and Next.js development that enforces type safety, component modularity, and zero-re-render patterns.