Package org.projectnessie.junit.engine
Interface MultiEnvTestExtension
- All Superinterfaces:
org.junit.jupiter.api.extension.Extension
public interface MultiEnvTestExtension
extends org.junit.jupiter.api.extension.Extension
Interface 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
Modifier and TypeMethodDescriptionallEnvironmentIds(org.junit.platform.engine.ConfigurationParameters configuration) Returns a list of IDs for test environments where the related suite of tests needs to be executed.Segment type for JUnit5 Unique IDs that represents a particular test execution environment.
-
Method Details
-
segmentType
String segmentType()Segment type for JUnit5 Unique IDs that represents a particular test execution environment. -
allEnvironmentIds
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.
-