java-unit-tests
CommunityCraft robust Java tests with JUnit 5 & AssertJ.
AuthorKacper99
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Java developers often struggle to write consistent, maintainable unit tests that verify behavior without coupling to implementation details.
Core Features & Use Cases
- Test Structure: guidelines for naming, phase annotations, and isolation.
- Mocking Strategy: recommendations to avoid mocking domain objects and favor fakes.
- Assertion Guidelines: prefer AssertJ, fluent chaining, and collection assertions.
- Test Data & Builders: guidance on building test fixtures and reusable builders.
- Organization: nested tests and grouping scenarios for readability.
Quick Start
Create a simple unit test skeleton for a service with a mock dependency.
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: java-unit-tests Download link: https://github.com/Kacper99/kacpers-marketplace/archive/main.zip#java-unit-tests 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 223,000+ vetted skills library on demand.