Tdd Test Generator

Automatically generates test boilerplate, edge cases, and unit tests based on function specifications. Use when this capability is needed.

tomevault-io 5e28bf7 2 files · 1.5 KB Updated

File contents

TDD Test Generator

This skill focuses on creating robust test suites quickly.

Principles

  • Boilerplate First: Get the basic setup out of the way.
  • Exhaustive Edge Cases: Consider nulls, empty strings, large numbers, and boundary conditions.
  • Table-Driven Tests: Use data tables for repeatable test logic.

Recommended Prompts

"Generate a pytest test suite for the following function, including edge cases for empty inputs and invalid types: [code snippet]"

Templates

Check resources/templates/ for starting points in Python and JavaScript.


Converted and distributed by TomeVault — claim your Tome and manage your conversions.

tomevault-io/skills-registry/tree/main/jcorpac--ai-skills-library--tdd-test-generator commit 5e28bf71ca

Frequently asked questions

npx skillmds@latest add tomevault-io/tdd-test-generator