| Job | Threat | Build-level rule | Source-level rule |
|---|---|---|---|
| Logical isolation | Layers or modules depend in forbidden directions | :domain does not depend on :data; feature implementations do not depend on sibling implementations |
Domain packages do not import data, UI, framework, or platform packages |
| API hermeticity | Implementation detail becomes public contract | API modules stay separate from implementation modules | Public signatures do not expose persistence, transport, or framework types |
| Mechanical hygiene | Structure becomes harder to navigate and build | Module graph has no cycles | Files avoid wildcard imports, class/file mismatch, or uncontrolled generated-code zones |
Last active
July 16, 2026 04:37
-
-
Save baole/5cdaf877ad0e7f1d62a7587ad3036e6a to your computer and use it in GitHub Desktop.
Kotlin Architecture Tests
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Kotlin Architecture Tests: What They Are and Why They Matter - Part 1/3
Kotlin Architecture Tests: Why Konture Exists - Part 2/3
Kotlin Architecture Tests with Konture: A Practical Guide - Part 3/3