Class TestCaseRunnerFactory

java.lang.Object
org.citrusframework.TestCaseRunnerFactory

public class TestCaseRunnerFactory extends Object
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'

The specified file must define the type of TestCaseRunnerProvider responsible for delivering the custom test case runner.
Since:
4.0
See Also:
  • Method Details