Re: RFC: adding pytest as a supported test framework

From: "Jelte Fennema-Nio" <postgres(at)jeltef(dot)nl>
To: "Andres Freund" <andres(at)anarazel(dot)de>
Cc: "Jacob Champion" <jacob(dot)champion(at)enterprisedb(dot)com>, "PostgreSQL Hackers" <pgsql-hackers(at)postgresql(dot)org>, "Robert Haas" <robertmhaas(at)gmail(dot)com>, "Daniel Gustafsson" <daniel(at)yesql(dot)se>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Peter Eisentraut" <peter(at)eisentraut(dot)org>, "Nazir Bilal Yavuz" <byavuz81(at)gmail(dot)com>
Subject: Re: RFC: adding pytest as a supported test framework
Date: 2026-01-08 12:34:57
Message-ID: DFJ7MRI3WIVU.MZQI2USE0SY7@jeltef.nl
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed Jan 7, 2026 at 1:48 AM CET, Andres Freund wrote:
> I mainly think you're doing too much at once.

Attached is a simplified version with all of the things you mentioned
removed.

The load balance test replacement was more meant as a POC of what this
test would look like if it had been written in Python. So I kept it in a
separate commit, but labeled it as POC for now (it's not WIP though
since I'm pretty happy with what it looks like).

Attachment Content-Type Size
v9-0001-Add-support-for-pytest-test-suites.patch text/x-patch 27.8 KB
v9-0002-Add-pytest-infrastructure-to-interact-with-Postgr.patch text/x-patch 78.4 KB
v9-0003-POC-Convert-load-balance-tests-from-perl-to-pytho.patch text/x-patch 17.3 KB
v9-0004-WIP-pytest-Add-some-SSL-client-tests.patch text/x-patch 16.9 KB
v9-0005-WIP-pytest-Add-some-server-side-SSL-tests.patch text/x-patch 8.5 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jelte Fennema-Nio 2026-01-08 12:49:44 Re: RFC: adding pytest as a supported test framework
Previous Message Gilles Darold 2026-01-08 12:31:15 Re: Pasword expiration warning