Class ArchitectureTestEngine

java.lang.Object
dev.archunitjava.junit.ArchitectureTestEngine
All Implemented Interfaces:
org.junit.platform.engine.TestEngine

public final class ArchitectureTestEngine extends Object implements org.junit.platform.engine.TestEngine
Optional JUnit Platform engine for ArchitectureTest methods.

Discovery deliberately accepts only explicit class, method, and unique-ID selectors. It does not scan packages or class-path roots because doing so would load unrelated analyzed classes.

  • Field Details

  • Constructor Details

    • ArchitectureTestEngine

      public ArchitectureTestEngine()
  • Method Details

    • getId

      public String getId()
      Specified by:
      getId in interface org.junit.platform.engine.TestEngine
    • discover

      public org.junit.platform.engine.TestDescriptor discover(org.junit.platform.engine.EngineDiscoveryRequest request, org.junit.platform.engine.UniqueId uniqueId)
      Specified by:
      discover in interface org.junit.platform.engine.TestEngine
    • execute

      public void execute(org.junit.platform.engine.ExecutionRequest request)
      Specified by:
      execute in interface org.junit.platform.engine.TestEngine