test-rules
CommunityWrite better tests with clear guidelines.
Authorgykk16
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides clear, actionable guidelines and best practices for writing effective unit tests, ensuring consistency and quality in your test suite.
Core Features & Use Cases
- Standardized Test Structure: Enforces the given-when-then pattern for readability.
- Assertion Libraries: Guides on using AssertJ and Kotest effectively.
- Test Quality: Emphasizes writing meaningful tests that validate behavior, not just coverage.
- Use Case: When you need to write a new test for a complex business logic method, consult this Skill to ensure your test is well-structured, uses appropriate assertions, and covers critical scenarios.
Quick Start
Follow the given-when-then structure and use AssertJ for assertions when writing new tests.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: test-rules Download link: https://github.com/gykk16/spring-skeleton/archive/main.zip#test-rules 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.