Create comprehensive test generation prompt for MAD-AI Clean Architecture layers #10
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR introduces a comprehensive testing prompt system that enables consistent test generation across all architectural layers of the MAD-AI project while ensuring compliance with Clean Architecture and Domain-Driven Design principles.
Problem Solved
The project needed a structured approach to generate tests that:
Solution
🧪 Test Generation Prompt (
test-generation-prompt.md)A comprehensive prompt that provides layer-specific testing strategies:
Domain Layer - Pure unit tests focusing on business logic:
Application Layer - Orchestration tests with mocked dependencies:
Infrastructure Layer - Integration tests with HTTP mocking:
📖 Usage Guide (
test-prompt-usage-guide.md)Practical implementation guide with:
Key Features
✅ Architectural Compliance: Validates dependency flows and layer responsibilities
✅ Coverage Standards: Defines specific coverage targets per layer (Domain: 95-100%, Application: 85-95%)
✅ Quality Assurance: Includes validation checklists and anti-pattern detection
✅ Immediate Usability: Ready-to-use templates and examples for all file types
Usage Example
This prompt system ensures that every test generated maintains the architectural integrity of the MAD-AI project while providing comprehensive coverage of functionality across all layers.
Created from VS Code via the GitHub Pull Request extension.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.