ArchUnit
ArchUnit copied to clipboard
raise error for empty violation store and delete empty rule file
These changes introduce two new features for FreezingRule default store
- Raise error when a freezing rule has zero violations. This can be enabled by setting the property
default.warnEmptyRuleViolation=true. For backward compatibility it is disabled by default. - Skip rule violation file creation or delete if it already exists, when there are zero violations. This can be enabled by setting the property
default.deleteEmptyRuleViolation=true, it is disabled by default.
Signed-off-by: Masoud Kiaeeha [email protected]
Resolves #1264