junit4
CommunityGuided JUnit 4 testing patterns for Java 8.
Authorphilmcneely
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides structured guidance and templates for writing solid JUnit 4 tests in Java 8, reducing boilerplate and preventing common testing mistakes.
Core Features & Use Cases
- Test structure templates: Pre-built patterns for setup, teardown, and test lifecycle annotations (Before, After, BeforeClass, AfterClass).
- Mockito integration: Demonstrates standard mocking, stub setup, and verification flows without Spring.
- Parameterized testing & categories: Examples of Parameterized tests and @Category usage for test organization.
- Best practices & conventions: Guidance on naming, exception testing, and assertion styles (AssertJ).
Quick Start
Create a sample JUnit 4 test class in Java 8 using the provided patterns to verify a simple method.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: junit4 Download link: https://github.com/philmcneely/tdd-coach-public/archive/main.zip#junit4 Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.