Loading lesson…
Level 1 · Apprentice0 XP
Turn your diagrams into tests that fail when someone breaks a boundary.
Step 1 / 5
ProblemThe wiki shows clean rings. The code has 37 imports from the domain into the database package, added one at a time under deadline pressure.
← → step
Before this: Testing each ring
🛠️ Your turn
Reading is not the skill, doing is. Try for ten minutes before you open the hint. Getting stuck first is what makes the solution stick.
1.Add one architecture test to a project: the domain package must not depend on framework or infrastructure packages. Break it on purpose once to see it fail, then revert.