junit-5-skill - Generate production-grade JUnit 5 tests in Java
Generates JUnit 5 unit and integration tests covering assertions, parameterized tests, lifecycle hooks, Mockito mocking, and nested tests.
Tags
Updated: 2026-09-18Capabilities
What this skill does
- Generate JUnit 5 unit tests
- Create parameterized tests
- Mock dependencies using Mockito
- Group tests with nested classes
- Add Maven test dependencies
- Execute JUnit 5 test commands
Inputs
- Java source code
- Test requirements
- Build configuration files
Outputs
- JUnit 5 test code files
- Maven dependency configurations
- Test execution commands
Requirements
- Java Development Kit
- JUnit 5 framework
- Maven or Gradle build tool
