ArchUnit icon indicating copy to clipboard operation
ArchUnit copied to clipboard

raise error for empty violation store and delete empty rule file

Open maxxkia opened this issue 11 months ago • 0 comments

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

maxxkia avatar Jan 18 '25 22:01 maxxkia