@API(value=Experimental)
public class LauncherFactory
extends java.lang.Object
Launcher instances by invoking create().
Test engines are registered at runtime using the
ServiceLoader facility. For that purpose, a
text file named META-INF/services/org.junit.gen5.engine.TestEngine
has to be added to the engine's JAR file in which the fully qualified name
of the implementation class of the TestEngine
interface is stated.
Launcher| Constructor and Description |
|---|
LauncherFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Launcher |
create()
Factory method for creating a new instance of
Launcher using dynamically
registered test engines. |