{{ }}PromptVault

Unit test scaffolder

Generates table-driven unit tests for a function.

coding · 9 uses · last used Aug 26, 2026 · created Aug 26, 2026

GPT-4.1Claude#code-generation#testing

Fill variables (empty = left as {{name}})

Final prompt (live preview)

Write {{framework}} unit tests for the function below.

Requirements:
- Table-driven style (cases array)
- Cover: happy path, boundary values, empty input, unicode, and one adversarial case
- Do not modify the function itself

```
{{code}}
```