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 expect an Altibase Docker image with the required runtime and license setup available.
Required environment variables¶
ALTIBASE_IMAGE(optional, defaults toaltibase/altibase:latest)ALTIBASE_PORT(optional, defaults to20300)ALTIBASE_DATABASE(optional)ALTIBASE_USER(optional)ALTIBASE_PASSWORD(optional)ALTIBASE_DRIVER(optional)ALTIBASE_NLS_USE(optional)
Run e2e¶
The e2e test runner waits for the database port and then runs the package smoke tests against the live service.