How to ignore classes in test class with ArchUnit
It seems that the API is not guiding very well with respect to this, because you’re not the first one wondering about this (this was also issue #1 on Github https://github.com/TNG/ArchUnit/issues/1). To answer the question though, the Annotation @AnalyseClasses has an extra attribute importOptions, which takes arbitrary implementations of ImportOption. There you can specify which … Read more