> For the complete documentation index, see [llms.txt](https://yoan-thirion.gitbook.io/knowledge-base/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yoan-thirion.gitbook.io/knowledge-base/software-architecture/test-your-architecture-with-archunit.md).

# Test your architecture with Archunit

The purpose of this workshop is to understand by the practice how a tool like [Archunit](https://www.archunit.org/) can help you ensure :&#x20;

* Team architecture decision
* Structural rules (Class dependencies)
* Coding guidelines
* Naming conventions
* Linguistic Anti-patterns

### Source code

Source code is available [here](https://github.com/ythirion/archunit-examples) in :

* Scala
* C# 10
* java

### Connection - Your current software architecture

![](/files/5FmkzCCsJlPjhxPof7Nj)

### Concepts

* Explain what can be done with the different Use Cases in the slides below
* Demo them with the code

### Concrete Practice

* Make them think about which kind of rules they are in their current projects
  * Often implicit ones
* Let's write them with Archunit DSL

### Conclusion

![](/files/1C3VxFgrxLK09rqMcyLt)

### Resources

Slides to facilitate this workshop

{% embed url="<https://speakerdeck.com/thirion/test-your-architecture-with-archunit>" %}
