Package org.citrusframework.main
Interface TestEngine
public interface TestEngine
- Since:
- 2.7.4
- Author:
- Christoph Deppisch
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.slf4j.LoggerLoggerstatic final StringEndpoint parser resource lookup pathstatic final ResourcePathTypeResolverDefault Citrus engine from classpath resource properties -
Method Summary
Modifier and TypeMethodDescriptionstatic TestEnginelookup(TestRunConfiguration configuration) Resolves engine from resource path lookup.voidrun()Runs all tests with the given engine.
-
Field Details
-
logger
static final org.slf4j.Logger loggerLogger -
RESOURCE_PATH
Endpoint parser resource lookup path- See Also:
-
TYPE_RESOLVER
Default Citrus engine from classpath resource properties
-
-
Method Details
-
run
void run()Runs all tests with the given engine. -
lookup
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:
-