~/talk

ArchUnit: Guarding the Logic of Your Application

Talkat Joker 2024 · 2024-10-09..10-16· [testing, software-architecture]
slides:none on file

ArchUnit enforces concrete architectural rules by expressing them as JUnit 5 tests (core + API), scanning packages to forbid controller->repository jumps, detect cycles, require logger fields to be private static final with specific names, and prohibit business logic in DTOs. Demo runs on Maven show failing tests (misnamed loggers and package suffixes), edits to code make tests pass. Rules are packaged as a reusable Java library and published to Nexus so projects import them incrementally. ArchUnit tests as first-class unit tests shared rules library distributed via Maven/Nexus

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:50Speaker background and motivation
  3. 3:35Common architecture problems in microservices
  4. 9:44Formal approaches to standardization
  5. 14:06ArchUnit vs other validation tools
  6. 17:00Defining architecture rules with ArchUnit
  7. 24:10Live demo of ArchUnit implementation
  8. 31:28Rule validation for controllers and loggers
  9. 34:02Distributing rules via shared library
  10. 38:47Best practices for ArchUnit adoption
  11. 41:15Summary and Q&A teaser
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.