Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sGqdW-000Fyq-Hi for pgsql-hackers@arkaria.postgresql.org; Tue, 11 Jun 2024 01:49:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sGqdU-000w32-LP for pgsql-hackers@arkaria.postgresql.org; Tue, 11 Jun 2024 01:49:21 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sGqdT-000w2e-0F for pgsql-hackers@lists.postgresql.org; Tue, 11 Jun 2024 01:49:21 +0000 Received: from fout2-smtp.messagingengine.com ([103.168.172.145]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sGqdQ-0011gy-C8 for pgsql-hackers@postgresql.org; Tue, 11 Jun 2024 01:49:19 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailfout.nyi.internal (Postfix) with ESMTP id 2D69C138017E; Mon, 10 Jun 2024 21:49:14 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Mon, 10 Jun 2024 21:49:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1718070554; x=1718156954; bh=Fy3fgHkyas vccTQnBxduP1L8aOTdTbMG7vEdwNyaWzQ=; b=1MYcpns3lrVP8tfOtD7b5Zhbmt q0hLiX/AjiQ9jMVnZPKVS+xPqGL2yobalHlMW1vMv+zFXxe33j6tXVA4DRgvZMnp g2LwHjKFof1MIVgCUuD+7hZfrqdjUt943urpS4HK2HKL2uyKlpRsz894BwvghNCE QWjWtbm08T3v/7FkR0X2MopllIxsI+t81w10cmHSWtQEXxz4qQH3YzjJajpSqjQi dKdCA2F0cpAWv+rSGhsZQR93l2Qi37vDCJvkZ6wxsa+PQ2IxuNJXAUxLaIXF2xrQ VFEVRFcYraFPzgr30UxIrYap7BLwJlhxiWfSn10KFq5HBOEFN7QKZ1t4lmqw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1718070554; x=1718156954; bh=Fy3fgHkyasvccTQnBxduP1L8aOTd TbMG7vEdwNyaWzQ=; b=iZd4OKuPsId3MVGky3jLK0AoQ47IFnp7EUBTWAlFJYd8 J61wPEq9G8CSmDCRyT8JCc2AME7f9+epXBsc48wu63MVYrgbav4Xgy1xZjGvkNvN cbGvelgAEx8QmicSzJXA/GImcMZp8yHRFErddStMR02A5GeleMzhHYarX+Wc3sD4 VCHQotToBmIsD8xU25WwPwUBgZb1rYyEKmWBwwwltKbptEkb1G6dZ/W6s8QiROzw V1keHDD4nqbaV1iEZqjCF0DQPCmiOfDqokOLC72CIedM8JU3a2H+iz/Xyjd93q3f hwS280j/0zUNwwxHo1w0zVGSWl3mneAz5XJZKl2fNQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfeduuddghedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesthdtredttddtvdenucfhrhhomheptehnughr vghsucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuggftrf grthhtvghrnhepvdfffeevhfetveffgeeiteefhfdtvdffjeevhfeuteegleduheetvedu ieettddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eprghnughrvghssegrnhgrrhgriigvlhdruggv X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 10 Jun 2024 21:49:13 -0400 (EDT) Date: Mon, 10 Jun 2024 18:49:11 -0700 From: Andres Freund To: Andrew Dunstan Cc: Jacob Champion , PostgreSQL Hackers Subject: Re: RFC: adding pytest as a supported test framework Message-ID: <20240611014911.khxuai5fy2ssbmiw@awork3.anarazel.de> References: <20240610200411.byj6sv2vpgol6wcf@awork3.anarazel.de> <00c5efe6-1abb-42f8-a9a7-ed3a055c4b92@dunslane.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00c5efe6-1abb-42f8-a9a7-ed3a055c4b92@dunslane.net> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2024-06-10 16:46:56 -0400, Andrew Dunstan wrote: > > On 2024-06-10 Mo 16:04, Andres Freund wrote: > > Hi, > > > > > > Just for context for the rest the email: I think we desperately need to move > > off perl for tests. The infrastructure around our testing is basically > > unmaintained and just about nobody that started doing dev stuff in the last 10 > > years learned perl. > Andres, > > I get that you don't like perl. I indeed don't particularly like perl - but that's really not the main issue. I've already learned [some of] it. What is the main issue is that I've also watched several newer folks try to write tests in it, and it was not pretty. > But it's hard for me to take this terribly seriously. "desperately" seems > like massive overstatement at best. Shrug. > As for what up and coming developers learn, they mostly don't learn C > either, and that's far more critical to what we do. C is a a lot more useful to to them than perl. And it's actually far more widely known these days than perl. C does teach you some reasonably low-level-ish understanding of hardware. There are gazillions of programs written in C that we'll have to maintain for decades. I don't think that's comparably true for perl. > I'm not sure what part of the testing infrastructure you think is > unmaintained. For example, the last release of Test::Simple was all the way > back on April 25. IPC::Run is quite buggy and basically just maintained by Noah these days. Greetings, Andres Freund