Back to Commands

/test

Generate tests for the specified code or feature.

Details

Category
developer-tools

Usage

/test <file or function>

Tags

testing
quality
coverage

Instructions

Write comprehensive tests covering the specified code. Include unit tests for individual functions, integration tests for interactions, and edge case coverage.