Package org.citrusframework
Class TestCaseRunnerFactory
java.lang.Object
org.citrusframework.TestCaseRunnerFactory
Factory for creating
TestCaseRunner instances. By default, it uses
Citrus' built-in runner, but it also offers the flexibility to replace the default runner with a
custom implementation. To do this, it leverages the Citrus ResourcePathTypeResolver
mechanism.
To provide a custom runner, the following file needs to be added to the classpath:
'META-INF/citrus/test/runner/custom'
TestCaseRunnerProvider responsible for
delivering the custom test case runner.- Since:
- 4.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic TestCaseRunnercreateRunner(TestContext context) Create a runner.static TestCaseRunnercreateRunner(TestCase testCase, TestContext context) Create a runner.
-
Method Details
-
createRunner
Create a runner.- Parameters:
context-- Returns:
-
createRunner
Create a runner.- Parameters:
testCase-context-- Returns:
-