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 1sHMTP-006WsT-8K for pgsql-hackers@arkaria.postgresql.org; Wed, 12 Jun 2024 11:49:04 +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 1sHMTM-00Gu0t-T9 for pgsql-hackers@arkaria.postgresql.org; Wed, 12 Jun 2024 11:49:01 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sHMTM-00GtzL-J5 for pgsql-hackers@lists.postgresql.org; Wed, 12 Jun 2024 11:49:01 +0000 Received: from mail-yb1-xb34.google.com ([2607:f8b0:4864:20::b34]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sHMTK-000wsx-Tp for pgsql-hackers@postgresql.org; Wed, 12 Jun 2024 11:49:00 +0000 Received: by mail-yb1-xb34.google.com with SMTP id 3f1490d57ef6-dfab4779d95so2218232276.0 for ; Wed, 12 Jun 2024 04:48:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718192937; x=1718797737; 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=STsWFusWb124SntWfShEEuK4Ks+Na8gUNP/e6pcLAog=; b=KHZnpXGp5TEa97BlTnGFfd5/Y+LjpN6ija8iQPVKCUzq11OSktOhPsmuXuEu0JRaHv Gb1DXGNSBdnjHallSt0zjUcevUvaQpe8WBMskZWV+T+gNPz+fw0GonFjADCv0oVv/qqz eOt8UUTEvz/49i7zhWhwb8DGAzoSE40J9RmppRAbw3kY9FyIh3xoVHkV7/jCiiaTrHaI DcfjNTyOxtclQ1NfLUKxZpK94hvrdOWAhQWIejYy7pNy2Xnfw5cCZ5TIQZKlBd3R4fgt td4YHyOrfuPgCeaVfy0yCRHsFY8/jCmr1gVrNJgFcDL2Q1Yh2HfG5wohhPUw3UrE3Rk6 ozqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718192937; x=1718797737; 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=STsWFusWb124SntWfShEEuK4Ks+Na8gUNP/e6pcLAog=; b=e7hJUzFaFVai5nBkKSYRUL6rcsS6lri7rAaAp2yNt3X7yYQVbp6KP99ZV2ZNwqzw0c 4+3cUMqF765FeWEEN1xXvyWuI00zX+r9vlsPkizcFLTLjtVVg1aQup2k77O8nhQmHCgS 6AXC4qy0jmMBX6Yd9XSjleJnURkuGqsYABp6gxgeTShBa6c6yQ+nYALMilaDUTW9eCm9 8eIxzAP2aYrI1ryzru8RtuNuJX7D//mhnzyZy/hakAyJp7XX+oXNqaVbJR7GxqtqC2zb poFKhSRwhzBUTRNMr5RiVxmrapQ8sKpg8mL4lL2TgFbJiHG0KwcFi+wbwZNup6nIfnnf UMUw== X-Gm-Message-State: AOJu0YwY0EttEFp/25mcTkdYctOG8WGH7jUpSx0DC6AU58HqpuHQg2Gr oI45gJ2dqJG3oWY40gEqw0Vl1jDfbQ5sEDvUW39KGF/zgEnwCl0Y7F0emkQKANghQflGfRzUnCJ yEXDSJr6F38XRmgiNiTqdZMaEqA8= X-Google-Smtp-Source: AGHT+IEtN0n1sbkvC3OMU9C8SLtBwGsqLGW4MqYj9rhGPY2Hqe8+Q/NYoxyEFVhSJdXO40o0SoVyJzt2+TW5dP1F0qg= X-Received: by 2002:a5b:94a:0:b0:df7:87e7:c377 with SMTP id 3f1490d57ef6-dfe6715ebe1mr1608509276.30.1718192937529; Wed, 12 Jun 2024 04:48:57 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Alexander Korotkov Date: Wed, 12 Jun 2024 14:48:45 +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 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. ------ Regards, Alexander Korotkov Supabase