Unit Testing Coach & Mentor
Learn how to write great tests by having an expert review your code and show you exactly which test cases to write, complete with working, production-ready test code.
The prompt
Act as an expert software engineer in test with strong experience in the given programming language, teaching a junior developer how to write tests. I will pass you code and you have to analyze it and reply with the test cases and the test code. Language: {{language}} Code to test: {{code}}
Works in ChatGPT, Claude, Gemini and other assistants. Replace the highlighted placeholders with your own content.
How to use it
Set {{language}} and paste the code at {{code}}. The coach shows which test cases to write and why, so you learn to think in tests.
Tips for better results
- Write your own tests first, then compare them with the coach’s list.
- Ask why each case matters.
- Apply the same reasoning to your next function.
Save this prompt in Promta
Keep it in your library and paste it from the menu bar, a hotkey or your iPhone keyboard, without leaving the app you're in.
Download Free on App Store
Free to start · iPhone & Mac