Package org.projectnessie.junit.engine
Interface MultiEnvTestExtension
-
- All Superinterfaces:
org.junit.jupiter.api.extension.Extension
public interface MultiEnvTestExtension extends org.junit.jupiter.api.extension.ExtensionInterface for JUnit5 test extensions that require running the same suite of tests in multiple executions environments. For example, running the same tests for multiple versions of a Nessie Client.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<java.lang.String>allEnvironmentIds(org.junit.platform.engine.ConfigurationParameters configuration)Returns a list of IDs for test environments where the related suite of tests needs to be executed.java.lang.StringsegmentType()Segment type for JUnit5 Unique IDs that represents a particular test execution environment.
-
-
-
Method Detail
-
segmentType
java.lang.String segmentType()
Segment type for JUnit5 Unique IDs that represents a particular test execution environment.
-
allEnvironmentIds
java.util.List<java.lang.String> allEnvironmentIds(org.junit.platform.engine.ConfigurationParameters configuration)
Returns a list of IDs for test environments where the related suite of tests needs to be executed.The returned list should preferably have the same order of elements across different invocations of this method to ensure a stable test case creation order.
-
-