Open nagkumar opened 2 years ago
on 0.22.0 no failures were reported.. looks like this issue has come only in 0.23.1
in 0.23.0 the error is
-commons-1.7.0.jar!/]
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 s - in ServiceRulesTest
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] GeneralCodingRulesTest Rule failed to check any classes. This means either that no classes have been passed to the rule at all, or that no classes passed to the rule matched the `that()` clause. To allow rules being evaluated without checking any classes you can set the ArchUnit property archRule.failOnEmptyShould = false
[ERROR] GeneralCodingRulesTest Rule failed to check any classes. This means either that no classes have been passed to the rule at all, or that no classes passed to the rule matched the `that()` clause. To allow rules being evaluated without checking any classes you can set the ArchUnit property archRule.failOnEmptyShould = false
[ERROR] GeneralCodingRulesTest Rule failed to check any classes. This means either that no classes have been passed to the rule at all, or that no classes passed to the rule matched the `that()` clause. To allow rules being evaluated without checking any classes you can set the ArchUnit property archRule.failOnEmptyShould = false
[INFO]
[ERROR] Tests run: 33, Failures: 3, Errors: 0, Skipped: 0
[INFO]
fix is add archunit.properties with the property
archRule.failOnEmptyShould = false