Re: RFC: adding pytest as a supported test framework
Jacob Champion <jacob.champion@enterprisedb.com>
From: Jacob Champion <jacob.champion@enterprisedb.com>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: Andres Freund <andres@anarazel.de>,
PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2024-06-12T19:34:04Z
Lists: pgsql-hackers
On Wed, Jun 12, 2024 at 10:30 AM Daniel Gustafsson <daniel@yesql.se> wrote: > I might be missing something obvious, but if we use a third-party libpq driver > in the testsuite doesn't that imply that a patch adding net new functionality > to libpq also need to add it to the driver in order to write the tests? I use the third-party driver to perform the "basics" at a high level -- connections, queries during cluster setup, things that don't involve ABI changes. For new ABI I use ctypes, or as other people have mentioned CFFI would work. --Jacob