How bnymellon/codekatas works
Project type and purpose
• This is an educational “Katas” monorepo—a multi-module Maven project hosting a series of self-contained programming exercises (Code Katas) in Java and Kotlin.
• Each “kata” module contains one or more failing unit tests and a minimal stub implementation; the corresponding “-solutions” module contains a reference solution.
• The project is not a full-stack web app or microservice system; it’s an open-source teaching tool illustrating various Java APIs, libraries (Streams, Eclipse Collections, JMH, PiTest, etc.), and language features (lambdas, date/time, Kotlin interop).
File structure
• Top-level aggregator:
• pom.xml (parent POM)
• checkstyle-*.xml (code style rules)
• .github/workflows/*.yml (CI pipelines: one to build the katas, one to build the solutions)
• Each kata lives in two sibling modules:
• <kata-name> (the exercise)
• <kata-name>-solutions (the sample implementation)
• Some katas have variant sub-modules (e.g., coffee-shop-kata/jdk8 and jdk21).
• Standard Maven convention: src/main/java, src/main/kotlin (where applicable), and src/test/java or src/test/kotlin.
README for additional insights
• The README enumerates each kata, its learning goal, and prerequisites (Java 21, Maven).
• No runtime architecture is described—focus is on hands-on test-driven development and library exposure.
Detail and coverage
• Modules listed in the file tree.
• That each module has its own src/main and src/test subfolders.
• Checkstyle rules and suppression files being applied globally.