Engineering4.7 · 70 ratings
Test Suite Generator
Generate a comprehensive test suite for this function: ``` [function code] ``` Using [Jest/Pytest/etc
Role-Based
Prompt
Generate a comprehensive test suite for this function: ``` [function code] ``` Using [Jest/Pytest/etc.]. Include: - Happy path tests (3-5 cases) - Edge cases (empty inputs, nulls, extremes) - Error/exception cases - Performance boundary test - Each test must have: descriptive name, setup, execution, assertion, teardown if needed. Also identify any untestable parts and explain why.
Recommended models
claudegpt-4ogemini
More in Engineering
Chain-of-Thought Activator
Let's think step by step
Read prompt
Code Review Specialist
Review this [language] code like a principal engineer at Google: ``` [code] ``` For each issue found, format as: 🔴 CRITICAL | 🟡 WARNING…
Read prompt
Debug Detective
I have a bug in my [language] code
Read prompt
System Architecture Designer
Design a scalable system architecture for [application]
Read prompt