sqlx
sqlx copied to clipboard
[Proposal] Replace the Test Host Level DB's with containers.
It looks like the unit tests for this project require installing host level db instances. That's reasonable given the projects inception date.
However, I think there are better alternatives available.
Namely using https://github.com/testcontainers/testcontainers-go
Advantages
- Less overhead for development (If actually ongoing in this project)
- Easier to test within a vendors versions eg. we could have Postgres 12-16
- Easier to test across vendors e.g Mysql, Maria, Postgres, MSSQL etc.
If the maintainers accepted this I would contribute the suite.
As a user of this lib who was thinking about adding test coverage for clickhouse. This would be great.