Prompt file imported from Monkey-D-Luisi/convy (
.github/prompts/add-test.prompt.md). Copyright stays with the author.
Add Tests
Add test coverage to existing Convy code.
Input
Specify the file, class, or feature you want to add tests for.
Process
- Analyze: Read the target code to understand behavior and dependencies.
- Identify gaps: Check existing tests for what's already covered.
- Plan scenarios: List happy path, error cases, edge cases, and boundary conditions.
- Write tests: Follow the
/test-suiteskill procedures. - Run: Execute tests and verify they all pass.
Output
- New test files or additions to existing test files
- All relevant tests pass:
dotnet test backend/Convy.slnx/cd mobile && ./gradlew :shared:testDebugUnitTest :composeApp:testDebugUnitTest