+ 1

What is ArchUnit?

It is a free, simple and extensible library for checking the architecture of your Java code using any plain Java unit test framework. It 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.
ArchUnit is a tool in the Java Tools category of a tech stack.
ArchUnit is an open source tool with 2K GitHub stars and 204 GitHub forks. Here’s a link to ArchUnit's open source repository on GitHub

Who uses ArchUnit?


4 developers on StackShare have stated that they use ArchUnit.

ArchUnit Integrations

ArchUnit's Features

  • Check the architecture of your Java code
  • Can check dependencies between packages and classes, layers and slices, check for cyclic dependencies and more

ArchUnit Alternatives & Comparisons

What are some alternatives to ArchUnit?
Java 8
It is a revolutionary release of the world’s no 1 development platform. It includes a huge upgrade to the Java programming model and a coordinated evolution of the JVM, Java language, and libraries. Java 8 includes features for productivity, ease of use, improved polyglot programming, security and improved performance.
The Guava project contains several of Google's core libraries that we rely on in our Java-based projects: collections, caching, primitives support, concurrency libraries, common annotations, string processing, I/O, and so forth.
A library for composing asynchronous and event-based programs by using observable sequences for the Java VM.
It tailors your application for GraalVM and HotSpot. Amazingly fast boot time, incredibly low RSS memory (not just heap size!) offering near instant scale up and high density memory utilization in container orchestration platforms like Kubernetes. We use a technique we call compile time boot.
It is a modern server-side Java template engine for both web and standalone environments. It is aimed at creating elegant web code while adding powerful features and retaining prototyping abilities.
See all alternatives
Related Comparisons
No related comparisons found

ArchUnit's Followers
3 developers follow ArchUnit to keep up with related blogs and decisions.