Skip to content

Comment on Test Postgres in Python Like SQLite

Comments

This is great, running tests with a database covers a ton of behaviors that are otherwise hard to test, and having the database in memory allows CI/CD to run those tests without downloading and building containers.

It does depend on SQLAlchemy. Can this also be used with asyncpg? Is it on the roadmap?

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.