Re: Improved TAP tests by replacing sub-optimal uses of ok() with better Test::More functions
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: Sadhuprasad Patro <b.sadhu@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-10-14T08:01:14Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Improve TAP tests by replacing ok() with better Test::More functions
- fabb33b351c2 19 (unreleased) landed
-
Fix matching check in recovery test 042_low_level_backup
- 61b5fa029a43 17.7 landed
- 3a7225ed37fc 18.1 landed
- d1b80a31ed6d 19 (unreleased) landed
-
pg_createsubscriber: Fix matching check in TAP test
- 39e22b3adaa7 18.1 landed
- d372888ade9e 19 (unreleased) landed
On Fri, Oct 10, 2025 at 09:33:10AM -0400, Andrew Dunstan wrote: > Great, I think this is a definite improvement. I saw someone recently > complaining about this overuse of ok(), so thanks for doing the work to > improve it. Yeah, it's really cool to see someone step up and do all this leg work for the existing code. I have not checked the patch in details or if there are missing spots. Andrew, is that something you are planning to do? -- Michael