Package com.consol.citrus.testng
Class TestNGEngine
- java.lang.Object
-
- com.consol.citrus.main.AbstractTestEngine
-
- com.consol.citrus.testng.TestNGEngine
-
- All Implemented Interfaces:
TestEngine
public class TestNGEngine extends AbstractTestEngine
- Since:
- 2.7.4
- Author:
- Christoph Deppisch
-
-
Field Summary
-
Fields inherited from interface com.consol.citrus.main.TestEngine
RESOURCE_PATH, TYPE_RESOLVER
-
-
Constructor Summary
Constructors Constructor Description TestNGEngine(TestRunConfiguration configuration)Default constructor using run configuration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TestNGEngineaddTestListener(org.testng.ITestNGListener listener)Adds run listener in fluent API.voidrun()-
Methods inherited from class com.consol.citrus.main.AbstractTestEngine
getConfiguration
-
-
-
-
Constructor Detail
-
TestNGEngine
public TestNGEngine(TestRunConfiguration configuration)
Default constructor using run configuration.- Parameters:
configuration-
-
-
Method Detail
-
run
public void run()
-
addTestListener
public TestNGEngine addTestListener(org.testng.ITestNGListener listener)
Adds run listener in fluent API.- Parameters:
listener-
-
-