Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 1.33 KB

README.md

File metadata and controls

27 lines (16 loc) · 1.33 KB

Fitness Functions for Your Architecture

This repository contains examples of Fitness Functions for structures in certain architectural patterns and styles. Fitness Functions are and important piece of Evolutionary Architectures.

The examples are written in Java and demonstrate two suitable tools/libraries for implementing structural fitness functions: ArchUnit and jMolecules.

You'll find the structure examples here, along with visualizations (editable PNGs for diagrams.net / draw.io).

The corresponding fitness functions are available here.

Note

  • All fitness functions are expected to fail in order to demonstrate how unwanted dependencies are reported as violations. The failure messages hint at how the violations can be fixed easily.
  • The example code deliberately violates some common Java coding conventions (especially regarding naming, like calling classes "Class..."), because this hopefully makes it easier for non-programmers to understand the structures and dependencies.

Talks & Slides