ArchUnit is a free, simple and extensible library for checking the architecture of your Java code using any plain Java unit test framework. That is, ArchUnit can check dependencies between packages and classes, layers and slices, check for cyclic dependencies and more. It does so by analyzing given Java bytecode, importing all classes into a Java code structure. You can find examples for the current release at ArchUnit Examples and the sources on GitHub.
Mar 10, 2018 – New article about ArchUnit at Java Aktuell
Nov 26, 2017 – Second release of ArchUnit (v0.5.0)
Nov 12, 2017 – ArchUnit talk at JVM Con 2017 (28.11.2017, Cologne)