Re: RFC: adding pytest as a supported test framework

Поиск
Список
Период
Сортировка
От Jacob Champion
Тема Re: RFC: adding pytest as a supported test framework
Дата
Msg-id CAOYmi+nE2mJwZ6ZL-FuQPk6iJB+tHMG+wjdy6egvxPRcfoX3OA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: RFC: adding pytest as a supported test framework  (Daniel Gustafsson <daniel@yesql.se>)
Список 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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jacob Champion
Дата:
Сообщение: Re: RFC: adding pytest as a supported test framework
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Addressing SECURITY DEFINER Function Vulnerabilities in PostgreSQL Extensions