Generates production-grade JUnit 5 unit and integration tests in Java. Covers assertions, parameterized tests, lifecycle hooks, mocking with Mockito, and nested tests. Use when user mentions "JUnit", "JUnit 5", "@Test", "assertEquals", "Assertions", "Java unit test". Triggers on: "JUnit", "@Test", "assertEquals", "Java test", "unit test Java".
$npx -y skills add lambdatest/agent-skills --skill junit-5-skillInstalls into the current project.
Run `npx skills use "https://github.com/lambdatest/agent-skills" --skill "lambdatest/agent-skills/junit-5-skill"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/lambdatest/agent-skills" that are relevant to the current task. Run `npx skills add "https://github.com/lambdatest/agent-skills"` and select the relevant skills, then follow their instructions.