An AI-powered QA analysis tool that transforms raw feature requirements into structured test artifacts — test cases, gap reports, risk assessments, test data specs, non-functional checks, and coverage matrices.
Built to speed up QA analysis by transforming raw requirements into structured test artifacts using ISTQB-informed logic and AI-assisted generation.
Helps reduce manual analysis time, identify requirement gaps earlier, improve test coverage, and standardize test design outputs.
Designed prompts, implemented full-stack app flow, structured output schema, built export-to-Excel logic, and created premium analysis sections for risks, test data, and non-functional checks.
AI output still requires QA review.
- Export to Excel — Download the full test suite as a formatted
.xlsxfile - Requirement Type Support — Web, Mobile, API, Admin
- Basic Mode — Generates a structured set of test cases from a requirement
- Premium Mode — Full QA analysis suite including:
- Test Cases (with preconditions, steps, expected results, regression notes)
- Gap Detection (missing or ambiguous requirement details)
- Clarification Questions (open questions to raise with stakeholders)
- Risk Assessment (high/medium/low risk items with recommendations)
- Test Data Specifications (valid and invalid data sets per field)
- Non-Functional Tests (performance, security, accessibility, usability, reliability)
- Coverage Matrix (feature area coverage overview)
- Feature Analysis — At-a-glance summary panel displayed alongside premium results, including:
- Total test case count
- Gap count
- Clarification question count
- Risk count (with high/medium/low breakdown)
- Review Summary — overall quality assessment of the requirement (tone: positive / neutral / warning) with a short insight
- Attention Points — auto-detected warnings about requirement completeness, boundary coverage, and risk exposure
| Positive | Neutral | Warning |
|---|---|---|
![]() |
![]() |
![]() |
| Basic | Premium |
|---|---|
![]() |
![]() |
| Layer | Technology |
|---|---|
| Frontend | React 19, Vite, Axios |
| Backend | Node.js, Express 5 |
| AI | OpenAI API (gpt-4o-mini) |
| Export | ExcelJS |
| Styling | Plain CSS (custom design system) |
| Font | Plus Jakarta Sans |
qa-ai-generator/
├── backend/
│ └── src/
│ ├── index.js # Express server entry point
│ ├── routes/
│ │ ├── testCaseRoutes.js # /api/generate-basic, /api/generate-premium
│ │ └── exportRoutes.js # /api/export-excel
│ ├── services/
│ │ └── aiService.js # OpenAI integration
│ └── prompts/
│ ├── generateTestCasesPrompt.js
│ ├── detectGapsPrompt.js
│ ├── generateRisksPrompt.js
│ ├── generateTestDataPrompt.js
│ ├── generateNonFunctionalTestsPrompt.js
│ └── generateCoverageMatrixPrompt.js
└── frontend/
└── src/
├── App.jsx # Main app logic and state
├── api.js # Axios instance
└── components/ # UI components
- Node.js >= 18
- An OpenAI API key
# Clone the repo
git clone <your-repo-url>
cd qa-ai-generator
# Install backend dependencies
cd backend && npm install
# Install frontend dependencies
cd ../frontend && npm installCreate a .env file inside the backend/ directory:
OPENAI_API_KEY=your_openai_api_key_here# Start the backend (from /backend)
npm run dev
# Start the frontend (from /frontend)
npm run devThe frontend runs on http://localhost:5173 and the backend on http://localhost:3001.
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/generate-basic |
Generate test cases only |
| POST | /api/generate-premium |
Generate full QA analysis suite |
| POST | /api/export-excel |
Export test artifacts to Excel |
{
"requirement": "string", // required
"requirementType": "web | mobile | api | admin" // optional
}- Paste your feature requirement into the text area
- Select the Requirement Type (Web / Mobile / API / Admin)
- Select the Mode (Basic or Premium)
- Click Generate Preview to see the full analysis
- Click Download Excel to export the test suite
| Tab | Description |
|---|---|
| Feature Analysis | Summary panel with artifact counts, also includes Review Summary and Attention Points (premium only) |
| Test Cases | Structured test cases with preconditions, steps, expected results, type, priority, and severity |
| Gaps | Missing, ambiguous, or underspecified areas in the requirement (premium only) |
| Clarification Questions | Open questions to raise with stakeholders before testing begins (premium only) |
| Risks | Identified risk areas rated high/medium/low with mitigation recommendations (premium only) |
| Test Data | Valid and invalid data sets per input field for boundary and negative testing (premium only) |
| Non-Functional | Checks for performance, security, accessibility, usability, and reliability (premium only) |
| Coverage | A matrix showing which feature areas are covered by the generated test cases (premium only) |



















