Class TestEngine

  • All Implemented Interfaces:
    org.junit.platform.engine.TestEngine

    public class TestEngine
    extends Object
    implements org.junit.platform.engine.TestEngine
    Class to implement the AntuBLUE Test Engine
    • Constructor Detail

      • TestEngine

        public TestEngine()
    • Method Detail

      • 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 return value
      • 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