Subject New test library: firebird-testcontainers-java
Author Mark Rotteveel
I have just release org.firebirdsql:firebird-testcontainers-java:1.0.0.

This library allows you to start a Firebird docker container for a JUnit
4 or 5 test or manually from your code. This can be useful for
JUnit-based integration tests.

For a very example, add to your pom.xml:


And create a test:

* Simple test demonstrating use of {@code @Rule}.
public class ContainerExampleTest {

public final FirebirdContainer container = new FirebirdContainer();

public void canConnectToContainer() throws Exception {
try (Connection connection = DriverManager
container.getUsername(), container.getPassword());
Statement stmt = connection.createStatement();
ResultSet rs = stmt.executeQuery("select CURRENT_USER from
assertTrue("has row",;
assertEquals("user name",
container.getUsername().toUpperCase(), rs.getString(1));

See and for details.

Mark Rotteveel