public final class TestRunners extends Object
Helper factory for loading TestRunners in container.
Modifier and Type | Method and Description |
---|---|
static TestRunner |
getTestRunner()
Dynamically loads an instance of a test runner.
|
static TestRunner |
getTestRunner(ClassLoader classLoader)
Dynamically loads an instance of a test runner.
|
public static TestRunner getTestRunner()
IllegalStateException
- if multiple TestRunners found in classpath.public static TestRunner getTestRunner(ClassLoader classLoader)
IllegalStateException
- if multiple TestRunners found in classpath.Copyright © 2021 JBoss by Red Hat. All rights reserved.