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 1sHMfA-006ZFw-4F for pgsql-hackers@arkaria.postgresql.org; Wed, 12 Jun 2024 12:01:12 +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 1sHMf8-00H5xX-IH for pgsql-hackers@arkaria.postgresql.org; Wed, 12 Jun 2024 12:01:11 +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 1sHMf8-00H5xP-8Z for pgsql-hackers@lists.postgresql.org; Wed, 12 Jun 2024 12:01:11 +0000 Received: from mail-yb1-xb2e.google.com ([2607:f8b0:4864:20::b2e]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sHMf6-001GVO-JP for pgsql-hackers@postgresql.org; Wed, 12 Jun 2024 12:01:10 +0000 Received: by mail-yb1-xb2e.google.com with SMTP id 3f1490d57ef6-dfb0ccbd401so4051480276.0 for ; Wed, 12 Jun 2024 05:01:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718193667; x=1718798467; darn=postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=I+cdUju+hODzo+swFnCuY6A4X6bNVNMsFaRIE0teNA0=; b=HT4ohvoBE9svlrZn8Gk8o920pH21z9cPMq/K8Rg1WoBa9cihzL+EIJlv3fRXI3PKfx q9+tAja2/KFxWbhG+BQh93t14cwiqT06pEh9aYG/zlzOvzmpSzdQJ6S0LcLjw16D2zjt jBad4T9Cw8JQoi3eFWJRdBD9x+dhSbjKhzSwUxnSLcnxIsBUCW3lzZrnE0e0XYi2vcpJ v74EBiog26lHlgy6OA1Oj8gtcnxX7N3xcOBhL8sK5svojAgaIUaOxpdPeAEebqYNGvxp 8AdrSxjPaVWYadVtk4sm7mTuml+X7ejacsxFRP8XctHrjTypiKHX/RgT/r085pNdcdCV fpMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718193667; x=1718798467; h=content-transfer-encoding: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=I+cdUju+hODzo+swFnCuY6A4X6bNVNMsFaRIE0teNA0=; b=QMbeCvqwzKBZCMurRuvd//oSKykbt3m54Sd6eyXltD+x3/EBdbbvQLfJ+kDaJoiRRm UFp+CKH/O25kjB3zJdg4UgICIsEU0Z/QOR893Ne4HPJlGSCevYcVFEMr9QVsftcXROM9 dLLoLHA/jdCUneSAfrKj6rgLz/v1iiHwsTO6p+1JyTbrs+/3X3oQqGSC0tlVdIrc+ki+ eOll/84zsFLivh23ep660Ntc370+cBqJRtjEvpmmMtnzNwginZ9l8dqv0DywpIuuDDOa 5AYb4p9m9u6J4nJb0A+IalS4XJM1pvhk7kx9D32epJ/49ixiLku+peXPaJEm7G+ndDf9 Fw3g== X-Gm-Message-State: AOJu0Yz1d9GlWRPHnp+p1m1bcZTvMgXvPWzxOSsbFtY1PuAWOQcPpw6T xy5beN2/EqbBq8j2y47Gg6qr8KesimEidwB9PCqIPXR2ul36JTIejKLGHkHkGWK+d2NHQDUzzwN dn5/euOL0ma5ie0u0AQ0+wDEFUWtxDvPx X-Google-Smtp-Source: AGHT+IEhZVeFS5H2Z6s2MhcZ/B3v5o67qASTYxtqkBCHSjzxEhn80GJtFVKR8rSgQa6LrvJWw0L7meXDJ9Kra0rQ9dQ= X-Received: by 2002:a25:918a:0:b0:df4:dfaa:2a1f with SMTP id 3f1490d57ef6-dfe68b154c9mr1520636276.51.1718193666756; Wed, 12 Jun 2024 05:01:06 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Alexander Korotkov Date: Wed, 12 Jun 2024 15:00:54 +0300 Message-ID: Subject: Re: RFC: adding pytest as a supported test framework To: Jacob Champion Cc: PostgreSQL Hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Jun 12, 2024 at 2:48=E2=80=AFPM Alexander Korotkov wrote: > On Tue, Jun 11, 2024 at 5:31=E2=80=AFPM Jacob Champion > wrote: > > On Mon, Jun 10, 2024 at 12:26=E2=80=AFPM Alexander Korotkov > > wrote: > > > Thank you for working on this. > > > Do you think you could re-use something from testgres[1] package? > > > > Possibly? I think we're all coming at this with our own bags of tricks > > and will need to carve off pieces to port, contribute, or reimplement. > > Does testgres have something in particular you'd like to see the > > Postgres tests support? > > Generally, testgres was initially designed as Python analogue of what > we have in src/test/perl/PostgreSQL/Test. In particular its > testgres.PostgresNode is analogue of PostgreSQL::Test::Cluster. It > comes under PostgreSQL License. So, I wonder if we could revise it > and fetch most part of it into our source tree. Plus testgres exists from 2016 and already have quite amount of use cases. This is what I quickly found on github. https://github.com/adjust/pg_querylog https://github.com/postgrespro/pg_pathman https://github.com/lanterndata/lantern https://github.com/orioledb/orioledb https://github.com/cbandy/pgtwixt https://github.com/OpenNTI/nti.testing https://github.com/postgrespro/pg_probackup https://github.com/postgrespro/rum ------ Regards, Alexander Korotkov Supabase