Zum Inhalt springen

Enforcing Architecture With ArchUnit in Java

You create a well-defined architecture, but how do you enforce this architecture in your code? Code reviews can be used, but wouldn’t it be better to verify your architecture automatically? With ArchUnit you can define rules for your architecture by means of unit tests.

Introduction

The architecture of an application is described in the documentation. This can be a Word document, a PlantUML diagram, a DrawIO diagram, or whatever you like to use. The developers should follow this architecture when building the application. 

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert