Skip to content
Tagged articles

ArchUnit

7 articles · Page 1 of 1
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 18, 2026 · Backend Development

Enforce Spring Boot Architecture Rules Automatically with ArchUnit

This tutorial demonstrates how to use ArchUnit to automatically enforce architectural constraints in Spring Boot projects, covering package structure validation, layered architecture protection, cycle detection between modules, and blocking problematic dependencies like BigDecimal(double) constructor through automated tests.

ArchUnitArchitecture TestingAutomated Governance
0 likes · 8 min read
Enforce Spring Boot Architecture Rules Automatically with ArchUnit
Code Archaeology
Code Archaeology
Jun 8, 2026 · Fundamentals

Measuring Architecture Characteristics: Three Methods and Fitness Functions for Governance

This article details three measurement approaches for architecture characteristics—operational metrics like p99 latency, structural metrics such as cyclomatic complexity, and process metrics for agility—and shows how fitness functions like ArchUnit automate governance by codifying architectural rules.

ArchUnitarchitecture characteristicsarchitecture governance
0 likes · 4 min read
Measuring Architecture Characteristics: Three Methods and Fitness Functions for Governance
Cognitive Technology Team
Cognitive Technology Team
May 29, 2025 · Backend Development

Testing Java Architecture with ArchUnit: A Comprehensive Guide

This article explains how Java developers can use ArchUnit to automatically import and analyze compiled classes, define custom architectural rules, enforce package naming conventions, prevent cyclic dependencies, and integrate the library with Maven or Gradle builds to maintain a clean, layered backend architecture.

ArchUnitArchitecture TestingBackend
0 likes · 9 min read
Testing Java Architecture with ArchUnit: A Comprehensive Guide
JD Tech
JD Tech
Jul 3, 2023 · Backend Development

Introducing ArchUnit: Automated Architecture Rule Checking for Java Projects

This article explains ArchUnit's role in automatically detecting and preventing architecture decay in Java codebases, compares it with code reviews and static analysis tools, outlines its advantages and limitations, and provides practical guidance on adoption, rule definition, and team workflow integration.

ArchUnitArchitecture Testingautomated checks
0 likes · 10 min read
Introducing ArchUnit: Automated Architecture Rule Checking for Java Projects
Continuous Delivery 2.0
Continuous Delivery 2.0
Mar 24, 2023 · Operations

Continuous Testing as a Weapon Against Architecture Decay: Practices, Performance Fences, Acceptance Test Nets, and Dependency Checks

Continuous testing, performance testing fences, acceptance test nets, and ArchUnit dependency checks are presented as practical strategies to prevent software and architecture decay, illustrated with real project experiences, CI/CD integration, and code examples for robust quality assurance.

Acceptance TestingArchUnitCI/CD
0 likes · 7 min read
Continuous Testing as a Weapon Against Architecture Decay: Practices, Performance Fences, Acceptance Test Nets, and Dependency Checks