ArchUnit is a simple but powerful open-source library to automatically test Java architectures as plain unit tests.

It was originally created by Peter Gafert to tackle shortcomings of existing free tools / libraries that assert architectural constraints of Java projects. ArchUnit is mainly developed by TNG, but any contributor is welcome and contributions are greatly appreciated :-)