Generate Unit Tests
Purpose
This skill generates a comprehensive JUnit unit test class for a given Java source class. It analyzes the target class's public methods, detects dependencies, and produces compilable test code covering happy paths, edge cases, and exception flows using Mockito for mocking and AssertJ for assertions.
Usage
/generate-unit-tests <path-to-java-class>
Argument: $ARGUMENTS — the file path (relative or absolute) to the target .java source file. R
[Description truncada. Veja o README completo no GitHub.]