# Tool: Generate Prompt for Automated Unit Testing

> Achieve 100% test confidence with the BOPINK Automated QA Prompt Suite. Built for QA Automation Engineers, Backend Developers, and TDD Practitioners, this tool engineers prompts that direct AI models to write complete, isolated test suites using Vitest, Jest, PyTest, or Go Testing Library with mock dependency injection and edge case coverage.

**Category**: prompts-code-design | **Target AI Models**: Gemini 3.1 Pro, GPT-4o

## Domain Parameters:
- `testRunner` (select): Test Framework (Default: "Vitest")
- `mockStrategy` (select): Mocking Strategy (Default: "MSW")
- `tableDriven` (toggle): Parameterized Table Tests (Default: "true")
- `testCoverage` (multiselect): Test Assertion Focus (Default: "Happy Path,Boundary Limits,Error Exceptions")

## Master Prompt Engineering Architecture (5 Pillars):
1. **Role & Persona**: Domain expert framing
2. **Task & Deliverable**: Primary objective & constraints
3. **Context & Parameters**: Technical specs & camera/stack parameters
4. **Negative Constraints**: Forbidden artifacts & bad practices
5. **Output Spec**: Section formatting & XML/Markdown structure

## Programmatic API Execution:
```http
POST /api/generate-prompt
Content-Type: application/json

{
  "toolSlug": "generate-prompt-for-automated-unit-testing",
  "rawPrompt": "Your raw concept here",
  "thinkingLevel": "HIGH"
}
```
