How tng/archunit-examples works
Main Components Identification
The system should be divided into these key components:
a) Core Testing Framework Components:
• JUnit4 Support Module
• JUnit5 Support Module
• Plain Testing Module
• Example Architecture Components (for testing)
b) Example Architecture Under Test:
• Layers Architecture
• Onion Architecture
• Shopping Application
• Cycles Examples
[ArchUnit Examples Project]
• Testing Framework Layer
• JUnit4 Support
• JUnit5 Support
• Plain Testing Support
• Example Architectures Layer
• Layers Architecture
• Controller Layer
• Service Layer
• Persistence Layer
• Core Layer
• Onion Architecture
• Domain Core
• Domain Services
• Application Layer
• Adapters Layer
• Shopping Application
• Product Management
• Order Processing
• Customer Management
Key Relationships
a) Framework Relationships:
• Test execution flow from JUnit modules to example architectures
• Rule validation paths
• Architecture violation detection flows
b) Example Architecture Relationships:
• Layer dependencies
• Component interactions
• Architectural constraint examples