Java Development Testing: Pure Unit Test Writing and Completion Assistant

Introducing the SkillHub community skill "Java Development-Phase Testing" (@user_a36dc51e/java-unit-test, v2.0.0): a pure unit-testing skill designed for writing, reviewing, supplementing, and refactoring code. It defaults to @Mock and @InjectMocks, operates at millisecond granularity, and requires zero Spring Context. Its core principle is a mandatory four-dimension check for every method (positive / negative / boundary / exception). JUnit 5 native assertions are the default, with backward compatibility for JUnit 4/5. The summary covers trigger signals, ParameterizedTest-based supplementation strategies, and clear boundaries—integration, E2E, and performance testing should be deferred to java-integration-test. Includes SkillHub installation coordinates and the official link; no API key required.

Read More