Re: Direction for test frameworks: Perl TAP vs. Python/pytest

From: Aleksander Alekseev <aleksander(at)tigerdata(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Cc: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, Andrew Dunstan <andrew(at)dunslane(dot)net>
Subject: Re: Direction for test frameworks: Perl TAP vs. Python/pytest
Date: 2026-06-16 15:07:18
Message-ID: CAJ7c6TOeVDaB0jVD7HRWA534dOWGZmHkisT3uM_oo9HY8A8kpw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

> > (A) Wholesale port with a flag day -- Python becomes *the*
> > framework, migrate the existing tests, stop accepting and eventually
> > remove the Perl one. One framework to learn and maintain, but a
> > large disruptive change with real dependency questions (which
> > Python, which libpq binding, buildfarm minimums).
> +1 on this
>
> I don't mind keeping the existing Perl tests for a while, but I'd like
> all new tests to be in Python, and have an agreement to migrate all
> existing tests over time. I haven't really looked at these efforts in
> detail so I don't know how long a transition period we need. Months? Years?

+1

I don't think we necessarily need a strict deadline on migrating
completely to Python. We will eventually and it doesn't look like Perl
tests require that much effort in terms of maintenance.

--
Best regards,
Aleksander Alekseev

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2026-06-16 15:07:23 Re: Direction for test frameworks: Perl TAP vs. Python/pytest
Previous Message Heikki Linnakangas 2026-06-16 14:38:53 Re: Direction for test frameworks: Perl TAP vs. Python/pytest