Common Rules Implementation

About

ArchUnit allows us to enforce architecture and coding conventions programmatically. These rules are typically derived from real-world best practices and help maintain code quality, consistency, and maintainability.

Layered Architecture Rules

Package & Class Location Rules

Dependency Rules

Naming Convention Rules

Annotation Usage Rules

Forbidden API Usage Rules

Dependency Cycle Rules

Layered Dependency & Access Rules

Test Layer Rules

Documentation & Logging Rules

Last updated