select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Extensions / Procedural languages

pgsqlmock

Mocking and faking helpers for PostgreSQL unit tests

pgext.cloud · Source code · PGXN

Overview

Packagepgsqlmock
Version1.0.1
PostgreSQL versions14 · 15 · 16 · 17 · 18
RepositoryPIGSTY
Extension typeSQL only
Requires CREATE EXTENSIONYes
Requires preloadNo
TrustedNo
RelocatableYes
Stars2
Latest commit2026-07-15
Latest release2026-01-23
Catalogue updated2026-08-30

Related extensions

Requires

plpgsqlPL/pgSQL procedural language
pgtapUnit testing for PostgreSQL

See also

fakerWrapper for the Faker Python library
dbt2OSDL-DBT-2 test kit
pg_mockableCreate mockable wrappers for PostgreSQL functions in tests
pgtapUnit testing for PostgreSQL
omni_testTesting framework
randomrandom data generator
tsm_system_timeTABLESAMPLE method which accepts time in milliseconds as a limit
tsm_system_rowsTABLESAMPLE method which accepts number of rows as a limit