Class ImportOption.DoNotIncludeTests

java.lang.Object
com.tngtech.archunit.core.importer.ImportOption.DoNotIncludeTests
All Implemented Interfaces:
ImportOption
Enclosing interface:
ImportOption

public static final class ImportOption.DoNotIncludeTests
extends java.lang.Object
implements ImportOption
Best effort ImportOption to check rules only on main classes.
NOTE: This excludes all class files residing in some directory ../target/test-classes/.., ../build/classes/test/.. or ../build/classes/someLang/test/.. (Maven/Gradle standard). Thus it is just a best guess, how tests can be identified, in other environments, it might be necessary, to implement the correct ImportOption yourself.
  • Constructor Details

    • DoNotIncludeTests

      public DoNotIncludeTests()
  • Method Details