Boundary conditions and edge cases are the tricky inputs that often break code. This skill helps you find and test those limits in Java. You will learn to check minimum and maximum numbers, empty strings, null values, and collection sizes. Use JUnit 5 and AssertJ to write clear tests that catch bugs before they reach users.
Anyone writing Java unit tests can benefit. The patterns cover numeric overflow, floating point precision, and off-by-one errors. Each test checks values just below, at, and just above a boundary. This makes your code more reliable and easier to maintain.
Global
mkdir -p ~/.claude/skills/unit-test-boundary-conditionsProject
mkdir -p .claude/skills/unit-test-boundary-conditionsSource Repository
Grill Memattpocock/skills
Stress-test your plan with relentless questions until we both understand
Tddmattpocock/skills
Write one test at a time then code to make it pass
Test Driven Developmentobra/superpowers
Write a failing test first then code just enough to pass
Webapp Testinganthropics/skills
Test your local web apps quickly with Playwright automation and screenshots
Qamattpocock/skills
Turn bug reports into GitHub issues through natural conversation without technical fuss
Migrate To Shoehornmattpocock/skills
Replace unsafe as assertions with type-safe partial test data easily
Playwright Best Practicescurrents-dev/playwright-best-practices-skill
Master Playwright testing with best practices for reliable and fast tests
Google Agents Cli Evalgoogle/agents-cli
Run evaluations on your AI agent, find failures, and improve its quality step by step