java-junit
Installation
SKILL.md
When to Use
- Writing JUnit 5 unit tests
- Creating parameterized tests
- Setting up test infrastructure
- Need testing best practices for Java
Instructions
Project Setup
- Use a standard Maven or Gradle project structure
- Place test source code in
src/test/java - Include dependencies for
junit-jupiter-api,junit-jupiter-engine, andjunit-jupiter-paramsfor parameterized tests - Use build tool commands to run tests:
mvn testorgradle test