UIV-9553 Stopping entropy with ArchUnit | Devoxx

Devoxx UK 2019
from Wednesday 8 May to Friday 10 May 2019.

   Stopping entropy with ArchUnit


Intermediate level
Auditorium Thursday from 18:05 til 18:35

So your team has agreed on naming conventions for classes and how to structure classes in 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.

JUnit   Unit Testing   architecture  
Subscribe to Devoxx on YouTube
Alexander Schwartz
Alexander Schwartz
From msg systems ag

Alexander Schwartz is a Principal IT Consultant at msg. He’s been in Web development for more than 15 years and enjoys productive working environments, agile projects, automated tests and automated builds. He cares for scripted infrastructure and state of the art monitoring. At conferences and user group meetings he talks about the things he is passionate about.

Make sure to download the Android or iOS mobile schedule.