public inbox for [email protected]  
help / color / mirror / Atom feed
From: Jelte Fennema-Nio <[email protected]>
To: Jacob Champion <[email protected]>
Cc: Andres Freund <[email protected]>
Cc: PostgreSQL Hackers <[email protected]>
Cc: Robert Haas <[email protected]>
Cc: Daniel Gustafsson <[email protected]>
Cc: Tom Lane <[email protected]>
Cc: Peter Eisentraut <[email protected]>
Cc: Nazir Bilal Yavuz <[email protected]>
Subject: Re: RFC: adding pytest as a supported test framework
Date: Thu, 08 Jan 2026 13:49:44 +0100
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAOYmi+ng-7j6JTzD5pe3AutHZ=LAJqVN1ZGNQwKAOfA2MYiBfg@mail.gmail.com>
References: <CAOYmi+moGFuBaaAHq=kixGk0YuOZan09Wn5O4WAzA-xLTEumaA@mail.gmail.com>
	<CA+TgmoY4DRMVEV7CVo1D8p==ExsN69W89rF7-Ax4V=M9HGWL7g@mail.gmail.com>
	<CA+TgmoZV8B35Mvx8DqHtJjHDQxscJhwOWzNWiPj+dsUhwaUfSg@mail.gmail.com>
	<[email protected]>
	<CAOYmi+k214g1tgREvQkUcr=OCiVKyaTDu1ja+OGAygG1y=jhPQ@mail.gmail.com>
	<CAOYmi+nEqA2LmetcJKUDmctypPLLumkVwj3vQ3idYd8yAGza5Q@mail.gmail.com>
	<CAOYmi+kebAt6wSX7ee0c0kMzV7r0hp93bAt10V5a88yHHUKwog@mail.gmail.com>
	<CAOYmi+=CrBFBRX-foRRES2tx2wXBJJhbsJGjgFbWvPcmBJuK-Q@mail.gmail.com>
	<[email protected]>
	<[email protected]>
	<g4gdtfedwwdgu5sbcopjt3djtqk6p2q7n5nymp7ppapfwukoyd@ev2v4jtsbure>
	<CAOYmi+mV97+FC=ME0EZj+3LBFHZ3g_xGmTGA_3u+TwJ_pvpFWw@mail.gmail.com>
	<[email protected]>
	<CAOYmi+ng-7j6JTzD5pe3AutHZ=LAJqVN1ZGNQwKAOfA2MYiBfg@mail.gmail.com>

On Wed Jan 7, 2026 at 2:01 AM CET, Jacob Champion wrote:
> It's perfectly okay if you'd like to tie the GoAway proposal to this,
> but that seems like it's unlikely to result in short-term success. 

To be clear, I did not mean to tie the GoAway proposal to this. I meant
to tie committing of *automated tests* for GoAway to this. Given how
little of our libpq interface is tested, I don't think that needs to be
a blocker for the GoAway feature itself.

Timing wise, I'd myself much rather have this patchset as an early PG20
commit than a last minute PG19 one.

> Writing code to start and stop a server and run SQL is a matter of
> programming. Writing a test suite that newcomers can intuitively use,
> and test interesting new things with, is a long-term collaboration. I
> am much more interested in doing the latter, because we already have
> the former, and personally I'm happy to build momentum slowly and wait
> on a group of people who are in a good place to discuss it.

Sure, it's a matter of programming. But my feeling is that most people
on the list don't want to build their own test infrastructure. They want
good infrastructure to "just exist", so they can write tests easily with
it.

So that's why after trying to use your initial attempt for a test of
mine, I moved the useful parts to a shared part of the codebase. So that
people can easily try writing a test with it, and explain what they like
or don't like. Instead of having to create or copy a bunch of
boilerplate every time they want to do something.

In any case, that's where we're at now. It would be nice if you could
take a look at the actual patchset at some point, but no rush.






view thread (12+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
  Subject: Re: RFC: adding pytest as a supported test framework
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox