public class TestUtils extends java.lang.Object
Constructor and Description |
---|
TestUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
disableCiServerEnvironment()
Disable CI server simulation.
|
static void |
enableCiServerEnvironment()
Enable CI server simulation.
|
static boolean |
isExecutionOnCiServer()
Returns whether this test case is being executed on the CI server.
|
static boolean |
isExecutionOnCiServer(java.util.Map<java.lang.String,java.lang.String> environment)
True if this is being executed on the CI server, see GitLab
predefined variables
|
public TestUtils()
public static boolean isExecutionOnCiServer()
public static boolean isExecutionOnCiServer(java.util.Map<java.lang.String,java.lang.String> environment)
public static void enableCiServerEnvironment()
public static void disableCiServerEnvironment()