Re: RFC: adding pytest as a supported test framework

From: Alexander Korotkov <aekorotkov(at)gmail(dot)com>
To: Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: RFC: adding pytest as a supported test framework
Date: 2024-06-12 11:48:45
Message-ID: CAPpHfdtdOC9cJrrRP44ixCtBxO-FUZQwpWOTaht+LiNGOvMS3Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jun 11, 2024 at 5:31 PM Jacob Champion
<jacob(dot)champion(at)enterprisedb(dot)com> wrote:
> On Mon, Jun 10, 2024 at 12:26 PM Alexander Korotkov
> <aekorotkov(at)gmail(dot)com> 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.

------
Regards,
Alexander Korotkov
Supabase

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2024-06-12 11:56:39 Re: Conflict Detection and Resolution
Previous Message Jelte Fennema-Nio 2024-06-12 11:40:30 Re: RFC: adding pytest as a supported test framework