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)
        Specified by:
        discover in interface org.junit.platform.engine.TestEngine
      • execute

        public void execute​(org.junit.platform.engine.ExecutionRequest executionRequest)
        Specified by:
        execute in interface org.junit.platform.engine.TestEngine
      • main

        public static void main​(String[] args)
        Method to run the TestEngine as a console application
        Parameters:
        args -