Class AntuBLUETestEngine

java.lang.Object
org.antublue.test.engine.AntuBLUETestEngine
All Implemented Interfaces:
org.junit.platform.engine.TestEngine

public class AntuBLUETestEngine extends Object implements org.junit.platform.engine.TestEngine
Class to implement the AntuBLUE Test Engine
  • Field Details

    • ENGINE_ID

      public static final String ENGINE_ID
      Configuration constant
      See Also:
    • VERSION

      public static final String VERSION
      Configuration constant
  • Constructor Details

    • AntuBLUETestEngine

      public AntuBLUETestEngine()
      Constructor
  • Method Details

    • getId

      public String getId()
      Method to get the test engine id
      Specified by:
      getId in interface org.junit.platform.engine.TestEngine
      Returns:
      the return value
    • getGroupId

      public Optional<String> getGroupId()
      Method to get the test engine group id
      Specified by:
      getGroupId in interface org.junit.platform.engine.TestEngine
      Returns:
      the return value
    • getArtifactId

      public Optional<String> getArtifactId()
      Method to get the test engine artifact id
      Specified by:
      getArtifactId in interface org.junit.platform.engine.TestEngine
      Returns:
      the return value
    • getVersion

      public Optional<String> getVersion()
      Method to get the test engine version
      Specified by:
      getVersion in interface org.junit.platform.engine.TestEngine
      Returns:
      the return value
    • discover

      public org.junit.platform.engine.TestDescriptor discover(org.junit.platform.engine.EngineDiscoveryRequest engineDiscoveryRequest, org.junit.platform.engine.UniqueId uniqueId)
      Method to discover test classes
      Specified by:
      discover in interface org.junit.platform.engine.TestEngine
      Parameters:
      engineDiscoveryRequest - engineDiscoveryRequest
      uniqueId - uniqueId
      Returns:
      the root TestDescriptor
    • execute

      public void execute(org.junit.platform.engine.ExecutionRequest executionRequest)
      Method to execute an ExecutionRequest
      Specified by:
      execute in interface org.junit.platform.engine.TestEngine
      Parameters:
      executionRequest - executionRequest