Package com.tngtech.archunit.junit

  • Interface Summary
    Interface Description
    LocationProvider
    Allows to provide a custom implementation, that supplies Locations to be imported by the JUnit test infrastructure.
  • Class Summary
    Class Description
    ArchRules Deprecated.
    Please use ArchTests instead
    ArchTests
    Includes all @ArchTest annotated members of another class into this ArchUnit test.
    ArchUnitRunner
    Evaluates ArchRules against the classes inside of the packages specified via @AnalyzeClasses on the annotated test class.
  • Enum Summary
    Enum Description
    CacheMode
    Determines how the JUnit test support caches classes.
    The test support can cache imported classes according to their location between several runs of different test classes, i.e.
  • Annotation Types Summary
    Annotation Type Description
    AnalyzeClasses
    Specifies which packages/locations should be scanned and tested when running a test with the ArchUnitRunner.
    ArchIgnore
    Marks rules (annotated with @ArchTest) to be ignored by the test support.
    ArchTest
    Marks ArchUnit tests to be executed by the test infrastructure.