Package org.antublue.test.engine
Class AntuBLUETestEngine
java.lang.Object
org.antublue.test.engine.AntuBLUETestEngine
- All Implemented Interfaces:
org.junit.platform.engine.TestEngine
Class to implement the AntuBLUE Test Engine
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.junit.platform.engine.TestDescriptordiscover(org.junit.platform.engine.EngineDiscoveryRequest engineDiscoveryRequest, org.junit.platform.engine.UniqueId uniqueId) Method to discover test classesvoidexecute(org.junit.platform.engine.ExecutionRequest executionRequest) Method to execute an ExecutionRequestMethod to get the test engine artifact idMethod to get the test engine group idgetId()Method to get the test engine idMethod to get the test engine version
-
Field Details
-
ENGINE_ID
Configuration constant- See Also:
-
VERSION
Configuration constant
-
-
Constructor Details
-
AntuBLUETestEngine
public AntuBLUETestEngine()Constructor
-
-
Method Details
-
getId
Method to get the test engine id- Specified by:
getIdin interfaceorg.junit.platform.engine.TestEngine- Returns:
- the return value
-
getGroupId
Method to get the test engine group id- Specified by:
getGroupIdin interfaceorg.junit.platform.engine.TestEngine- Returns:
- the return value
-
getArtifactId
Method to get the test engine artifact id- Specified by:
getArtifactIdin interfaceorg.junit.platform.engine.TestEngine- Returns:
- the return value
-
getVersion
Method to get the test engine version- Specified by:
getVersionin interfaceorg.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:
discoverin interfaceorg.junit.platform.engine.TestEngine- Parameters:
engineDiscoveryRequest- engineDiscoveryRequestuniqueId- uniqueId- Returns:
- the root TestDescriptor
-
execute
public void execute(org.junit.platform.engine.ExecutionRequest executionRequest) Method to execute an ExecutionRequest- Specified by:
executein interfaceorg.junit.platform.engine.TestEngine- Parameters:
executionRequest- executionRequest
-