More in this categoryCoding Prompts
08 / 12
Coding prompt
Unit Tests Generator
Full unit test suites with edge cases covered.
Published · Updated

Test generator prompt
Write comprehensive unit tests for this [LANGUAGE] function using [TEST FRAMEWORK]. Cover: happy path, edge cases (empty/null/boundary inputs), and error cases. Aim for 90%+ coverage. Code: [PASTE CODE]
Related prompts
Coding Prompts2 phasesLegacy Code Modernization
Analyze legacy risks, then modernize safely.
- Amazon Q Developer
By Rahul Verma
Coding Prompts2 phasesFunction Draft to Production-Ready
Draft a working function, then harden it for production.
- GitHub Copilot
By Priya Sharma
Coding Prompts
Coding Prompts2 phases