150 intentionally buggy Java programs for students to hunt, diagnose, and fix.
src/main/java/com/amigoscode/bughunt/
easy/bugNN/ (50 bugs)
medium/bugNN/ (50 bugs)
hard/bugNN/ (50 bugs)
src/test/java/com/amigoscode/bughunt/
easy/bugNN/ JUnit 5 + AssertJ + Mockito tests (currently FAILING)
- Pick a bug directory, e.g. easy/bug01
- Read HINT.md
- Run the tests for that bug:
- Fix the code in src/main/... until the tests pass
- Compare your fix with SOLUTION.md
- Easy (1–50) — syntax & basic logic traps
- Medium (51–100) — API & OOP misuse
- Hard (101–150) — subtle semantics, generics, memory, numerics