-
Up to now I am using Archunit Version with 0.22.0. I created a bunch of archunit tests for some components, e.g. with package
The Archunit tests are performed with Junit5,
With Archunit 0.22.0 the test behaves in a way that classes from Now I want to upgrade to Archunit 1.0.0 but the test does not work in the previous way. If I use the current configuration it seems that classes from If I use the
The same for
Therefore my question: How should I configure @AnalyzeClasses to get back a behavior like that classes from a selected package are tested against all classes from the classpath? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I am sorry, i just made an error in building the archunit rule test. I used a package regex with Method |
Beta Was this translation helpful? Give feedback.
I am sorry, i just made an error in building the archunit rule test.
I used a package regex with Method
ClassesThat.haveFullyQualifiedName()
. This worked with 0.22.0 as desired but not anymore with 1.0.0, for understandable reasons. After replacingClassesThat.haveFullyQualifiedName()
withClassesThat.resideInAPackage()
all tests were fine.