Skip to content

Topic

Architecture testing

The practice of asserting a codebase's structural rules — layer boundaries, naming conventions, freedom from circular dependencies — as automated tests that run alongside unit tests.

Current clusters

build1 publisher

ArchUnitTS fails an architecture rule that inspected zero files

A dev.to walkthrough turns seven layering rules into ordinary test assertions in a NestJS project. The default that decides whether those rules mean anything is what the library does when a folder pattern matches no files.

Publishers:dev.to

Reality

Evidence48
Adoption
Insufficient
Hype gap+15
Incentives35
Confidence42