public inbox for [email protected]  
help / color / mirror / Atom feed
From: Alexander Korotkov <[email protected]>
To: Jacob Champion <[email protected]>
Cc: PostgreSQL Hackers <[email protected]>
Subject: Re: RFC: adding pytest as a supported test framework
Date: Wed, 12 Jun 2024 15:00:54 +0300
Message-ID: <CAPpHfdtUMx39U_4369Qrov_tMzBm0GFcrdV_a1RT0DTcftPvdQ@mail.gmail.com> (raw)
In-Reply-To: <CAPpHfdtdOC9cJrrRP44ixCtBxO-FUZQwpWOTaht+LiNGOvMS3Q@mail.gmail.com>
References: <CAOYmi+kThkM9Z87u=R_Wi7fCor2i+UZKAyq0UCyprzCwTQvqgA@mail.gmail.com>
	<CAPpHfdu4iyE1pfybgHrD04VW82mmxUSnFcj4jBghxE_wG8s3dA@mail.gmail.com>
	<CAOYmi+nzKz_TwP20wYAQskms1t0mXLVK8ah6WppxY1_zX_6ZYg@mail.gmail.com>
	<CAPpHfdtdOC9cJrrRP44ixCtBxO-FUZQwpWOTaht+LiNGOvMS3Q@mail.gmail.com>

On Wed, Jun 12, 2024 at 2:48 PM Alexander Korotkov <[email protected]> wrote:
> On Tue, Jun 11, 2024 at 5:31 PM Jacob Champion
> <[email protected]> wrote:
> > On Mon, Jun 10, 2024 at 12:26 PM Alexander Korotkov
> > <[email protected]> wrote:
> > > Thank you for working on this.
> > > Do you think you could re-use something from testgres[1] package?
> >
> > Possibly? I think we're all coming at this with our own bags of tricks
> > and will need to carve off pieces to port, contribute, or reimplement.
> > Does testgres have something in particular you'd like to see the
> > Postgres tests support?
>
> Generally, testgres was initially designed as Python analogue of what
> we have in src/test/perl/PostgreSQL/Test.  In particular its
> testgres.PostgresNode is analogue of PostgreSQL::Test::Cluster.  It
> comes under PostgreSQL License.  So, I wonder if we could revise it
> and fetch most part of it into our source tree.

Plus testgres exists from 2016 and already have quite amount of use
cases.  This is what I quickly found on github.

https://github.com/adjust/pg_querylog
https://github.com/postgrespro/pg_pathman
https://github.com/lanterndata/lantern
https://github.com/orioledb/orioledb
https://github.com/cbandy/pgtwixt
https://github.com/OpenNTI/nti.testing
https://github.com/postgrespro/pg_probackup
https://github.com/postgrespro/rum

------
Regards,
Alexander Korotkov
Supabase






view thread (77+ 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]
  Subject: Re: RFC: adding pytest as a supported test framework
  In-Reply-To: <CAPpHfdtUMx39U_4369Qrov_tMzBm0GFcrdV_a1RT0DTcftPvdQ@mail.gmail.com>

* 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