This folder contains a Go helper for starting Oracle AI Database Free with `testcontainers-go` and a test that verifies the container can be started and queried.
What this sample demonstrates
Testcontainers
Disposable Oracle AI Database Free containers for repeatable local and integration tests.
Use when tests need real database behavior without sharing a long-lived development instance.
Highlights
- oracle_container.go: reusable OracleContainer wrapper
- ords_container.go: reusable ORDS wrapper with HTTP, HTTPS, MongoDB API ports, and schema enablement
- oracle_container_test.go: integration test that starts the container and queries v$version
- ords_container_test.go: integration test that starts Oracle AI Database and ORDS as containers, and verifies connectivity by using the ORDS MongoDB API.