Skip to main content
Run any Skill in Manus
with one click

write-unit-test-junit

Stars4
Forks1
UpdatedApril 20, 2026 at 18:16

Write a unit test for a Use Case or domain entity using JUnit 5 and AssertJ in a Java + Spring Boot project. Use when the user says 'write test', 'add tests', 'test this', 'TDD', 'cover X with tests'. Don't use for integration tests with Spring context — those require @SpringBootTest. Don't use for HTTP endpoint tests — test the use case directly.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly