Class TestRunners
java.lang.Object
org.jboss.arquillian.container.test.spi.util.TestRunners
TestRunners
Helper factory for loading TestRunners in container.
- Version:
- $Revision: $
- Author:
- Aslak Knutsen
-
Method Summary
Modifier and TypeMethodDescriptionstatic TestRunnerDynamically loads an instance of a test runner.static TestRunnergetTestRunner(ClassLoader classLoader) Dynamically loads an instance of a test runner.
-
Method Details
-
getTestRunner
Dynamically loads an instance of a test runner.- Returns:
- A Initialized TestRunner
- Throws:
IllegalStateException- if multiple TestRunners found in classpath.
-
getTestRunner
Dynamically loads an instance of a test runner.- Returns:
- A Initialized TestRunner
- Throws:
IllegalStateException- if multiple TestRunners found in classpath.
-