A ColdFusion library for easy Data Access and Object Mapping
Use the included Docker Compose stack to run the test suite against MySQL.
docker compose up -d
Wait for the container to be healthy (or a few seconds), then confirm:
docker compose ps
Connection details (used below):
| Setting | Value |
|---|---|
| Host | localhost |
| Port | 3306 |
| Database | dao_test |
| User | dao |
| Password | dao |
In tests/Application.cfc, set this.datasource to "dao_mysql" (the dao_mysql entry is already in the this.datasources block). Restart and run tests:
box server restart
box testbox run
The first line of output should show Database: mysql.
docker compose down