Package com.tngtech.archunit.library.freeze
package com.tngtech.archunit.library.freeze
-
ClassDescriptionA decorator around an existing
ArchRule
that "freezes" the state of all violations on the first call instead of failing the test.A text file based implementation of aViolationStore
.
ThisViolationStore
will store the violations of every singleFreezingArchRule
in a dedicated file.
It will keep an index of all stored rules as well as a mapping to the individual rule violation files in the same folder.
By default, the layout within the configured store folder will look like:Allows to adjust the rule violation file names ofTextFileBasedViolationStore
AllowsFreezingArchRule
to decide when two lines of two violations count as "equivalent".Provides some sort of storage for violations toFreezingArchRule
.A simple delegate for aViolationStore
to allow adjusting the behavior of anotherViolationStore
by delegation (e.g.