Class TestEngine

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

    public class TestEngine
    extends Object
    implements org.junit.platform.engine.TestEngine
    Class to implement a TestEngine
    • Constructor Detail

      • TestEngine

        public TestEngine()
    • Method Detail

      • getId

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

        public Optional<String> getGroupId()
        Specified by:
        getGroupId in interface org.junit.platform.engine.TestEngine
      • getArtifactId

        public Optional<String> getArtifactId()
        Specified by:
        getArtifactId in interface org.junit.platform.engine.TestEngine
      • getVersion

        public Optional<String> getVersion()
        Specified by:
        getVersion in interface org.junit.platform.engine.TestEngine
      • 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 -
        uniqueId -
        Returns:
      • execute

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