A set of tests aiming to reproduce encountered problems while using DuckDB JDBC driver.
-
A JRE 17 or higher
-
Optional If you do not want to use Gradle wrapper:
-
JDK 21 or higher
-
Gradle 8.14 or higher
-
Run ./gradlew build.
Test report is available at build/reports/tests/test/index.html.
Run ./gradlew test --tests=$TEST_CLASS_NAME
./gradlew test --tests=MigrationValidationTestThis will replace the test report in build directory.
Test cases are located in src/test/java/com/geomatys/duckdb/test/.
Tests inherit from AbstractDuckDbTest class. It creates an ephemeral database for each test. The database is filled with test data. SQL definition is in src/test/resources/db/migration/.