Package com.consol.citrus.main
Interface TestEngine
-
public interface TestEngine- Since:
- 2.7.4
- Author:
- Christoph Deppisch
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.LoggerLOGLoggerstatic StringRESOURCE_PATHEndpoint parser resource lookup pathstatic ResourcePathTypeResolverTYPE_RESOLVERDefault Citrus engine from classpath resource properties
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static TestEnginelookup(TestRunConfiguration configuration)Resolves engine from resource path lookup.voidrun()Runs all tests with the given engine.
-
-
-
Field Detail
-
LOG
static final org.slf4j.Logger LOG
Logger
-
RESOURCE_PATH
static final String RESOURCE_PATH
Endpoint parser resource lookup path- See Also:
- Constant Field Values
-
TYPE_RESOLVER
static final ResourcePathTypeResolver TYPE_RESOLVER
Default Citrus engine from classpath resource properties
-
-
Method Detail
-
run
void run()
Runs all tests with the given engine.
-
lookup
static TestEngine lookup(TestRunConfiguration configuration)
Resolves engine from resource path lookup. Scans classpath for engine meta information and instantiates engine with respective name given in test run configuration.- Parameters:
configuration- the test run configuration used to initialize the engine.- Returns:
-
-