Alexander Schwartz

msg systems ag


Bei der msg arbeite ich als Principal IT Consultant. In den vergangenen Jahren habe ich Softwareprojekte in verschiedenen Rollen als Entwickler, ScrumMaster, Architekt und Projektmanager begleitet. Web-Technologien waren immer das zentrale Thema. Ich schätze produktive Arbeitsumgebungen, agile Projekte und automatisierte Tests.

Twitter: @ahus1de

Stopping entropy with ArchUnit

So your team has agreed on naming conventions for classes and packages. Last week you found out that a specific class is error prone to use. Writing this down in a Wiki will not allow for automatic checks. Tools that produce dashboards look nice at first sight, but will fall into oblivion soon. The library ArchUnit allows you to code your project’s rules as tests in pure Java code. They will execute like any other unit test. Developers can run them locally before they commit the code.
When the tests fail, they provide a descriptive error message.
This talk shows how to code architecture rules and best practices as ArchUnit tests. It will compare ArchUnit with other tools to show limits and advantages of this approach.