The current version is #ident "@(#)$Format:DEVOP1:skills/test-generator/SKILL.md:%an:%ae:%ad:%cn:%ce:%cd:%H:%D:%N$"
name: test-generator
description: Generates comprehensive unit and integration tests for code changes.
Test Generator Skill
When generating tests, adhere to the following rules:
- Isolation & Integration: Write unit tests for isolated functions and integration tests to verify the piece works within the broader system.
- Edge Cases: Explicitly test boundary conditions, null inputs, and unexpected data types.
- Mocking: Use appropriate mocking frameworks to isolate dependencies (e.g., databases, external APIs).
- Coverage: Ensure the generated tests aim for maximum logical coverage, targeting newly modified lines of code.