Testing¶
Unit tests¶
Unit tests run in Docker and enforce at least 95% line coverage.
The unit-test container installs development dependencies and runs:
End-to-end tests¶
End-to-end tests are Docker-based and require a licensed Tibero image plus a valid license file.
Required environment variables¶
TIBERO_LICENSE_FILETIBERO_IMAGE(optional, defaults totiberoofficial/tibero:latest)TIBERO_PORT(optional, defaults to8629)TIBERO_DATABASE(optional)TIBERO_USER(optional)TIBERO_PASSWORD(optional)TIBERO_DRIVER(optional)
Run e2e¶
The e2e test runner waits for the database port and then runs the package smoke tests against the live service.
make test-e2e-docker now performs a local preflight check and fails early if
TIBERO_LICENSE_FILE is unset or does not point to a real file.