Architecture testing with ArchUnit: Implementation for DDD
summary
ArchUnit is a Java framework for expressing and checking architectural rules by inspecting code topology (package/class relationships and annotations). The talk shows an implementation that encodes Domain-Driven Design tactical patterns as ArchUnit rules — for example, enforcing that classes in the domain package do not call classes in the infra package — and describes how those rules are used to validate DDD layer boundaries.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 1:44What is DDD?
- 6:13Hexagonal architecture and DDD
- 18:48ArchUnit overview
- 23:02Gradle plugin demo
- 29:03Experience and limits
- 32:54Conclusion
related talks
22mArchitecture & ArchUnit
45mUnit Test Your Java Architecture With ArchUnit
24mUnit Testing Your Architecture
49mArchUnit: Guarding the Logic of Your Application
43mUnit Test Your Java Architecture With ArchUnit
46mEnforcing Architecture in Legacy Systems
49mBottom-up Architecture: Bridging the Architecture-Code Gap
01h 34mThe Intersection of Architecture and Implementation
