github.com/pashagolub/pgxmock/v2 (go): package pgxmock is a mock library implementing pgx connector. Which has one and only purpose - to simulate pgx driver behavior in tests, without needing a real database connection. It helps to maintain correct **TDD** workflow.  It does not require (almost) any modifications to your source code in order to test and mock database operations. Supports concurrency and multiple database mocking.  The driver allows to mock any pgx driver method behavior.
Keywords: database|go|golang|pgx|postgres|postgresql|sqlmock|tdd