Package org.europa.together
Class JUnit5Preperator
java.lang.Object
org.europa.together.JUnit5Preperator
- All Implemented Interfaces:
org.junit.jupiter.api.extension.BeforeAllCallback,org.junit.jupiter.api.extension.Extension
public class JUnit5Preperator
extends Object
implements org.junit.jupiter.api.extension.BeforeAllCallback
JUnit5 Extension to run code beforr all test, like setup test suite and
shutdown after all the testenvironment.
USAGE: @ExtendWith({JUnit5DbPreperator.class})
USAGE: @ExtendWith({JUnit5DbPreperator.class})
-
Field Details
-
JDBC_CONNECTION
-
-
Constructor Details
-
JUnit5Preperator
public JUnit5Preperator()
-
-
Method Details
-
beforeAll
public void beforeAll(org.junit.jupiter.api.extension.ExtensionContext context) - Specified by:
beforeAllin interfaceorg.junit.jupiter.api.extension.BeforeAllCallback
-
close
public void close() -
isConnected
public static boolean isConnected()
-