Re: RFC: adding pytest as a supported test framework - Mailing list pgsql-hackers

From Andres Freund
Subject Re: RFC: adding pytest as a supported test framework
Date
Msg-id 20240612152812.ixz3eiz2p475gose@awork3.anarazel.de
Whole thread Raw
In response to Re: RFC: adding pytest as a supported test framework  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: RFC: adding pytest as a supported test framework
List pgsql-hackers
Hi,

On 2024-06-11 08:04:57 -0400, Andrew Dunstan wrote:
> Some time ago I did some work on wrapping libpq using the perl FFI module.
> It worked pretty well, and would mean we could probably avoid many uses of
> IPC::Run, and would probably be substantially more efficient (no fork
> required). It wouldn't avoid all uses of IPC::Run, though.

FWIW, I'd *love* to see work on this continue. The reduction in test runtime
on windows is substantial and would shorten the hack->CI->fail->hack loop a
good bit shorter. And save money.


> But my point was mainly that while a new framework might have value, I don't
> think we need to run out and immediately rewrite several hundred TAP tests.

Oh, yea. That's not at all feasible to just do in one go.

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Proposal: Document ABI Compatibility
Next
From: Peter Geoghegan
Date:
Subject: Re: Proposal: Document ABI Compatibility