Unit Test Generator
Create robust tests for any code snippet.
Prompt Template
Create unit tests for the following {{Language:[programming_languages]}} code using the {{Framework:[testing_frameworks]}} framework. Ensure edge cases are covered:
{{Code Snippet: Take it from the current project}}
How Variables Work
Variable Syntax
Variables are wrapped in {{ and }} and follow this pattern:
{{variable name: option1, option2, option3 }}
Predefined Variables
A selection can reference a predefined variable list using square brackets. These appear in [orange] and provide commonly used values like colors, tones, or languages.
{{Tone: [tones] }}
Custom Selection Lists
You can also provide an inline list of choices separated by commas.
{{Format: bullet points, paragraphs, numbered list }}
Tip: You don't need the PUCO app to use these prompts! Simply copy the template and replace each {{…}} section with your own text directly in ChatGPT, Claude, Gemini, or any other AI assistant.