For: Fast lookup of common patterns, prompts, and best practices Use: Keep this open while generating tests for quick reference
I'm working on CoreStory project {project-id}.
Generate {test-type} tests for {module/feature} using {framework}.
Cover {requirements}.
Copilot workflow:
/testsI'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:
@workspace for project context#fileI'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:
/tests command for quick generation@terminal to verify they failI'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:
#codebase for full context