Skip to content

Geomatys/duckdb-java-issues

Repository files navigation

DuckDB Java issues

A set of tests aiming to reproduce encountered problems while using DuckDB JDBC driver.

Requirements

  • 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 tests

Run ./gradlew build.

Test report is available at build/reports/tests/test/index.html.

Run a single test

Run ./gradlew test --tests=$TEST_CLASS_NAME

Example: run test validating test database migration (source here):
./gradlew test --tests=MigrationValidationTest

This will replace the test report in build directory.

Sources

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/.

About

A set of tests to reproduce encountered issues with DuckDB JDBC driver

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages