Package io.cucumber.core.plugin
Class TigerLauncherDiscoveryListener
java.lang.Object
io.cucumber.core.plugin.TigerLauncherDiscoveryListener
- All Implemented Interfaces:
org.junit.platform.engine.EngineDiscoveryListener,org.junit.platform.launcher.LauncherDiscoveryListener
public class TigerLauncherDiscoveryListener
extends Object
implements org.junit.platform.launcher.LauncherDiscoveryListener
We want to be able to force a dry run where the tests are only discovered and not executed.
When running tests with maven or with a junit5 driver class, the Junit Platform launcher will automatically find test engines to discover and run tests. By having this listener we can change the dry run configuration before the cucumber engine starts discovering tests.
-
Field Summary
Fields inherited from interface org.junit.platform.launcher.LauncherDiscoveryListener
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidlauncherDiscoveryStarted(org.junit.platform.launcher.LauncherDiscoveryRequest request) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.junit.platform.engine.EngineDiscoveryListener
selectorProcessedMethods inherited from interface org.junit.platform.launcher.LauncherDiscoveryListener
engineDiscoveryFinished, engineDiscoveryStarted, launcherDiscoveryFinished
-
Constructor Details
-
TigerLauncherDiscoveryListener
public TigerLauncherDiscoveryListener()
-
-
Method Details
-
launcherDiscoveryStarted
public void launcherDiscoveryStarted(org.junit.platform.launcher.LauncherDiscoveryRequest request) - Specified by:
launcherDiscoveryStartedin interfaceorg.junit.platform.launcher.LauncherDiscoveryListener
-