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 1sGmnk-00HBjn-Lr for pgsql-hackers@arkaria.postgresql.org; Mon, 10 Jun 2024 21:43:41 +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 1sGmnj-00GdDM-26 for pgsql-hackers@arkaria.postgresql.org; Mon, 10 Jun 2024 21:43:39 +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 1sGmni-00GdDE-OE for pgsql-hackers@lists.postgresql.org; Mon, 10 Jun 2024 21:43:39 +0000 Received: from mail-yb1-f179.google.com ([209.85.219.179]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sGmne-000zv0-Jm for pgsql-hackers@postgresql.org; Mon, 10 Jun 2024 21:43:39 +0000 Received: by mail-yb1-f179.google.com with SMTP id 3f1490d57ef6-dfa588f7283so5050187276.2 for ; Mon, 10 Jun 2024 14:43:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718055813; x=1718660613; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RxyFJ2PNWFrR6oTpJgGBjDT2aI2hZtGTEx0SHJD3fS8=; b=QxKsp/aFhZ6U8paQH6jn34z4ApO1Ae80XDbP0qEUHhyGwQR0rXLa4nSKKWMgNU9OCl r8HBCCJjygvhUhj0NKSRLbmGBJGH9wjzkyB9Hv7pdcd06+jkLtb3DnHfTCAnTEaI1gN7 Xsr0qmfNAKHzVi9EE7pGlAGUvRhuyiDJjoy6TWo5if4tNTVBDjF26IClZlf0lQaJ8rWs l4vk3C+Ppiun1FPuQKaos39dUWzAC0M4Z8hfmQVA4MW80uwYfCvGn7YOy7b/JyVGi1KC VJQFTe8QoiAdHWFd9bHJiqkCXETn/6CMdMVJt/rjlm4sYNsZ7l+lkw/0qki4ZbDd24lU hLEw== X-Forwarded-Encrypted: i=1; AJvYcCW798TrvHK6Q41ErbuDfrCNh4CNYMMmTNEKln7HX/mcvjxopglWyebDSMxAVPUtetu9sw5m0IVtuio75x0Eyblkv8CR5LRF5JQR/pSd X-Gm-Message-State: AOJu0Yyb9vQpWB/uUCs5Qyy63dx57GGw7Xc3SBwdFucQtBHBjJxveGxS ishrJAZg53TRLgpSFeV8ZYDsXSNV7Qb73uv24H3vOS+esdvsJO6JdVzUrRrjemnz0XEkn2NZlMl M7VDBSv65OzjEwbRYdHcU3BUWZPnugAnIVCGyNA== X-Google-Smtp-Source: AGHT+IHvTdRnSiJQzbn4tPacwYGSQWAYS3fgpAfX5wvCrZoOr1v9kHDPwHIVa/lJm+/61emcshptFLB2UV3XPmbFfqI= X-Received: by 2002:a25:8007:0:b0:dfa:5895:781f with SMTP id 3f1490d57ef6-dfaf64f175dmr9544761276.37.1718055813215; Mon, 10 Jun 2024 14:43:33 -0700 (PDT) MIME-Version: 1.0 References: <20240610200411.byj6sv2vpgol6wcf@awork3.anarazel.de> <00c5efe6-1abb-42f8-a9a7-ed3a055c4b92@dunslane.net> In-Reply-To: <00c5efe6-1abb-42f8-a9a7-ed3a055c4b92@dunslane.net> From: Jelte Fennema-Nio Date: Mon, 10 Jun 2024 23:43:22 +0200 Message-ID: Subject: Re: RFC: adding pytest as a supported test framework To: Andrew Dunstan Cc: Andres Freund , Jacob Champion , PostgreSQL Hackers Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, 10 Jun 2024 at 22:47, Andrew Dunstan wrote: > 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. I think many up and coming devs have at least touched C somewhere (e.g. in university). And because it's more critical to the project and also to many other low level projects, they don't mind learning it so much if they don't know it yet. But I, for example, try to write as few Perl tests as possible, because getting good at Perl has pretty much no use to me outside of writing tests for postgres. (I do personally think that official Rust support in Postgres would probably be a good thing, but that is a whole other discussion that I'd like to save for some other day) > But let's not throw the baby out with the bathwater. Quite apart from anything else, a wholesale rework of the test infrastructure would make backpatching more painful. Backporting test improvements to decrease backporting pain is something we don't look badly upon afaict (Citus its test suite breaks semi-regularly on minor PG version updates due to some slight output changes introduced by e.g. an updated version of the isolationtester).