Class ImportOption.DoNotIncludeTests
java.lang.Object
com.tngtech.archunit.core.importer.ImportOption.DoNotIncludeTests
- All Implemented Interfaces:
ImportOption
- Enclosing interface:
- ImportOption
Best effort
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
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.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.tngtech.archunit.core.importer.ImportOption
ImportOption.DoNotIncludeArchives, ImportOption.DoNotIncludeJars, ImportOption.DoNotIncludePackageInfos, ImportOption.DoNotIncludeTests, ImportOption.OnlyIncludeTests, ImportOption.Predefined
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DoNotIncludeTests
public DoNotIncludeTests()
-
-
Method Details
-
includes
- Specified by:
includes
in interfaceImportOption
-