For: Fast lookup of common patterns, prompts, and best practices Use: Keep this open while generating tests for quick reference


Common Prompts (Copy & Paste)

🚀 Quick Start

I'm working on CoreStory project {project-id}.
Generate {test-type} tests for {module/feature} using {framework}.
Cover {requirements}.

Copilot workflow:


📋 Comprehensive Testing

I'm working on CoreStory project {project-id}.

Generate comprehensive tests for {feature} including:
- Unit tests for business logic
- Integration tests for dependencies
- Edge cases and boundary conditions
- Error scenarios

Use {framework}. Organize by {criterion}.

Copilot workflow:


🎯 TDD (Test-First)

I'm working on CoreStory project {project-id}.

I'm about to implement {feature}. Generate failing tests first (TDD approach).

Requirements:
- {requirement 1}
- {requirement 2}
- {requirement 3}

Use {framework}. Tests should be RED until I implement.

Copilot workflow:


🔍 Edge Case Discovery

I'm working on CoreStory project {project-id}.

Analyze {module} and identify all edge cases, then generate tests for them.

Focus on:
- Boundary conditions
- Invalid inputs
- Error scenarios
- Race conditions

Copilot workflow:


🔌 API Testing