Team Exasol
Team Exasol

What is test-database-builder?

Exasol's Test Database Builder for Java (TDDB) is a library that makes writing integration tests for database applications easier.

The main design goals are to make the code of the integration test compact and readable at the same time.

For example, you can create and fill a table using the following statement:


final DatabaseObjectFactory factory=new ExasolObjectFactory(connection);
final Schema schema factory.createSchema("ONLINESHOP");
final Table table=schema.createTable("ITEMS","PRODUCT_ID","DECIMAL(18,0)","NAME","VARCHAR(40)")
        .insert("1","Cat food")
        .insert("2","Toy mouse");


What's new?

TDDB 3.1.0 allows you to create and execute Exasol scripts. In this release we fixed a bug in the implementation of execute that lead to an exception when string parameters containing quotes were passed to the execute function.

Where to find it?

You can find the new release on GitHub.