Re: RFC: adding pytest as a supported test framework

Поиск
Список
Период
Сортировка
Искать
От
Sutou Kouhei
Тема
Re: RFC: adding pytest as a supported test framework
Дата
Msg-id
20240613.064001.1569077497664390798.kou@clear-code.com
Ответ на
Список
Дерево обсуждения
RFC: adding pytest as a supported test framework Jacob Champion <jacob.champion@enterprisedb.com>
Re: RFC: adding pytest as a supported test framework Andres Freund <andres@anarazel.de>
Re: RFC: adding pytest as a supported test framework Andrew Dunstan <andrew@dunslane.net>
Re: RFC: adding pytest as a supported test framework Andres Freund <andres@anarazel.de>
Re: RFC: adding pytest as a supported test framework Noah Misch <noah@leadboat.com>
Re: RFC: adding pytest as a supported test framework Andrew Dunstan <andrew@dunslane.net>
Re: RFC: adding pytest as a supported test framework Jelte Fennema-Nio <postgres@jeltef.nl>
Re: RFC: adding pytest as a supported test framework Jelte Fennema-Nio <postgres@jeltef.nl>
Re: RFC: adding pytest as a supported test framework Noah Misch <noah@leadboat.com>
Re: RFC: adding pytest as a supported test framework FWS Neil <neil@fairwindsoft.com>
Re: RFC: adding pytest as a supported test framework Jelte Fennema-Nio <postgres@jeltef.nl>
Re: RFC: adding pytest as a supported test framework walther@technowledgy.de
Re: RFC: adding pytest as a supported test framework Jacob Champion <jacob.champion@enterprisedb.com>
Re: RFC: adding pytest as a supported test framework Sutou Kouhei <kou@clear-code.com>
Re: RFC: adding pytest as a supported test framework Jacob Champion <jacob.champion@enterprisedb.com>
Re: RFC: adding pytest as a supported test framework Andrew Dunstan <andrew@dunslane.net>
Re: RFC: adding pytest as a supported test framework Andres Freund <andres@anarazel.de>
Re: RFC: adding pytest as a supported test framework Andrew Dunstan <andrew@dunslane.net>
Re: RFC: adding pytest as a supported test framework Melanie Plageman <melanieplageman@gmail.com>
Re: RFC: adding pytest as a supported test framework Andrew Dunstan <andrew@dunslane.net>
Re: RFC: adding pytest as a supported test framework Daniel Gustafsson <daniel@yesql.se>
Re: RFC: adding pytest as a supported test framework Melanie Plageman <melanieplageman@gmail.com>
Re: RFC: adding pytest as a supported test framework Daniel Gustafsson <daniel@yesql.se>
Re: RFC: adding pytest as a supported test framework Jelte Fennema-Nio <postgres@jeltef.nl>
Re: RFC: adding pytest as a supported test framework Jelte Fennema-Nio <postgres@jeltef.nl>
Re: RFC: adding pytest as a supported test framework Jacob Champion <jacob.champion@enterprisedb.com>
Re: RFC: adding pytest as a supported test framework Andres Freund <andres@anarazel.de>
Re: RFC: adding pytest as a supported test framework Andrew Dunstan <andrew@dunslane.net>
Re: RFC: adding pytest as a supported test framework Jelte Fennema-Nio <postgres@jeltef.nl>
Re: RFC: adding pytest as a supported test framework Daniele Varrazzo <daniele.varrazzo@gmail.com>
Re: RFC: adding pytest as a supported test framework Jelte Fennema-Nio <postgres@jeltef.nl>
Re: RFC: adding pytest as a supported test framework Alexander Korotkov <aekorotkov@gmail.com>
Re: RFC: adding pytest as a supported test framework Alexander Korotkov <aekorotkov@gmail.com>
Re: RFC: adding pytest as a supported test framework Daniel Gustafsson <daniel@yesql.se>
Re: RFC: adding pytest as a supported test framework Jacob Champion <jacob.champion@enterprisedb.com>
Re: RFC: adding pytest as a supported test framework Daniel Gustafsson <daniel@yesql.se>
Re: RFC: adding pytest as a supported test framework Daniele Varrazzo <daniele.varrazzo@gmail.com>
Re: RFC: adding pytest as a supported test framework Robert Haas <robertmhaas@gmail.com>
Re: RFC: adding pytest as a supported test framework Jelte Fennema-Nio <postgres@jeltef.nl>
Re: RFC: adding pytest as a supported test framework Andrew Dunstan <andrew@dunslane.net>
Re: RFC: adding pytest as a supported test framework Robert Haas <robertmhaas@gmail.com>
Re: RFC: adding pytest as a supported test framework Andrew Dunstan <andrew@dunslane.net>
Re: RFC: adding pytest as a supported test framework Jelte Fennema-Nio <postgres@jeltef.nl>
Re: RFC: adding pytest as a supported test framework Thomas Munro <thomas.munro@gmail.com>
Re: RFC: adding pytest as a supported test framework Robert Haas <robertmhaas@gmail.com>
Re: RFC: adding pytest as a supported test framework Tom Lane <tgl@sss.pgh.pa.us>
Re: RFC: adding pytest as a supported test framework Robert Haas <robertmhaas@gmail.com>
Re: RFC: adding pytest as a supported test framework Jelte Fennema-Nio <postgres@jeltef.nl>
Re: RFC: adding pytest as a supported test framework Tom Lane <tgl@sss.pgh.pa.us>
Re: RFC: adding pytest as a supported test framework Jelte Fennema-Nio <postgres@jeltef.nl>
Re: RFC: adding pytest as a supported test framework Robert Haas <robertmhaas@gmail.com>
Re: RFC: adding pytest as a supported test framework Jelte Fennema-Nio <postgres@jeltef.nl>
Re: RFC: adding pytest as a supported test framework Robert Haas <robertmhaas@gmail.com>
Re: RFC: adding pytest as a supported test framework Jacob Champion <jacob.champion@enterprisedb.com>
Re: RFC: adding pytest as a supported test framework Robert Haas <robertmhaas@gmail.com>
Re: RFC: adding pytest as a supported test framework Jacob Champion <jacob.champion@enterprisedb.com>
Re: RFC: adding pytest as a supported test framework Robert Haas <robertmhaas@gmail.com>
Re: RFC: adding pytest as a supported test framework Tom Lane <tgl@sss.pgh.pa.us>
Re: RFC: adding pytest as a supported test framework Andres Freund <andres@anarazel.de>
Re: RFC: adding pytest as a supported test framework Andres Freund <andres@anarazel.de>
Re: RFC: adding pytest as a supported test framework Jelte Fennema-Nio <postgres@jeltef.nl>
Re: RFC: adding pytest as a supported test framework Andrew Dunstan <andrew@dunslane.net>
Re: RFC: adding pytest as a supported test framework Andres Freund <andres@anarazel.de>
Re: RFC: adding pytest as a supported test framework Jelte Fennema-Nio <postgres@jeltef.nl>
Re: RFC: adding pytest as a supported test framework Robert Haas <robertmhaas@gmail.com>
Re: RFC: adding pytest as a supported test framework Jelte Fennema-Nio <postgres@jeltef.nl>
Re: RFC: adding pytest as a supported test framework Greg Sabino Mullane <htamfids@gmail.com>
Re: RFC: adding pytest as a supported test framework Melanie Plageman <melanieplageman@gmail.com>
Re: RFC: adding pytest as a supported test framework Robert Haas <robertmhaas@gmail.com>
Re: RFC: adding pytest as a supported test framework Jelte Fennema-Nio <postgres@jeltef.nl>
Re: RFC: adding pytest as a supported test framework Matthias van de Meent <boekewurm+postgres@gmail.com>
Re: RFC: adding pytest as a supported test framework Andrew Dunstan <andrew@dunslane.net>
Re: RFC: adding pytest as a supported test framework Jacob Champion <jacob.champion@enterprisedb.com>
Re: RFC: adding pytest as a supported test framework Jacob Champion <jacob.champion@enterprisedb.com>
Re: RFC: adding pytest as a supported test framework Jacob Champion <jacob.champion@enterprisedb.com>
Re: RFC: adding pytest as a supported test framework Jacob Champion <jacob.champion@enterprisedb.com>
Re: RFC: adding pytest as a supported test framework "Jelte Fennema-Nio" <postgres@jeltef.nl>
Re: RFC: adding pytest as a supported test framework "Jelte Fennema-Nio" <postgres@jeltef.nl>
Re: RFC: adding pytest as a supported test framework Andres Freund <andres@anarazel.de>
Re: RFC: adding pytest as a supported test framework Jacob Champion <jacob.champion@enterprisedb.com>
Re: RFC: adding pytest as a supported test framework "Jelte Fennema-Nio" <postgres@jeltef.nl>
Re: RFC: adding pytest as a supported test framework Andres Freund <andres@anarazel.de>
Re: RFC: adding pytest as a supported test framework Jelte Fennema-Nio <postgres@jeltef.nl>
Re: RFC: adding pytest as a supported test framework Andres Freund <andres@anarazel.de>
Re: RFC: adding pytest as a supported test framework "Jelte Fennema-Nio" <postgres@jeltef.nl>
Re: RFC: adding pytest as a supported test framework "Jelte Fennema-Nio" <postgres@jeltef.nl>
Re: RFC: adding pytest as a supported test framework Aleksander Alekseev <aleksander@tigerdata.com>
Re: RFC: adding pytest as a supported test framework "Jelte Fennema-Nio" <postgres@jeltef.nl>
Re: RFC: adding pytest as a supported test framework "Jelte Fennema-Nio" <postgres@jeltef.nl>
Re: RFC: adding pytest as a supported test framework "Jelte Fennema-Nio" <postgres@jeltef.nl>
Re: RFC: adding pytest as a supported test framework Jacob Champion <jacob.champion@enterprisedb.com>
Re: RFC: adding pytest as a supported test framework "Jelte Fennema-Nio" <postgres@jeltef.nl>
Re: RFC: adding pytest as a supported test framework "Jelte Fennema-Nio" <postgres@jeltef.nl>
Re: RFC: adding pytest as a supported test framework Xuneng Zhou <xunengzhou@gmail.com>
Re: RFC: adding pytest as a supported test framework Xuneng Zhou <xunengzhou@gmail.com>
Re: RFC: adding pytest as a supported test framework "Jelte Fennema-Nio" <postgres@jeltef.nl>
Re: RFC: adding pytest as a supported test framework "Jelte Fennema-Nio" <postgres@jeltef.nl>
Re: RFC: adding pytest as a supported test framework "Jelte Fennema-Nio" <postgres@jeltef.nl>
Re: RFC: adding pytest as a supported test framework Jacob Champion <jacob.champion@enterprisedb.com>
Re: RFC: adding pytest as a supported test framework Andrew Dunstan <andrew@dunslane.net>
Re: RFC: adding pytest as a supported test framework Jacob Champion <jacob.champion@enterprisedb.com>
Re: RFC: adding pytest as a supported test framework Robert Haas <robertmhaas@gmail.com>
Re: RFC: adding pytest as a supported test framework Jacob Champion <jacob.champion@enterprisedb.com>
Re: RFC: adding pytest as a supported test framework Greg Sabino Mullane <htamfids@gmail.com>
Re: RFC: adding pytest as a supported test framework Jelte Fennema-Nio <postgres@jeltef.nl>
Re: RFC: adding pytest as a supported test framework Greg Sabino Mullane <htamfids@gmail.com>
Re: RFC: adding pytest as a supported test framework Greg Sabino Mullane <htamfids@gmail.com>
Re: RFC: adding pytest as a supported test framework Andrew Dunstan <andrew@dunslane.net>
Re: RFC: adding pytest as a supported test framework Robert Haas <robertmhaas@gmail.com>
Re: RFC: adding pytest as a supported test framework Jacob Champion <jacob.champion@enterprisedb.com>
Re: RFC: adding pytest as a supported test framework Aleksander Alekseev <aleksander@timescale.com>
Re: RFC: adding pytest as a supported test framework Alexander Korotkov <aekorotkov@gmail.com>
Re: RFC: adding pytest as a supported test framework Jacob Champion <jacob.champion@enterprisedb.com>
Re: RFC: adding pytest as a supported test framework Alexander Korotkov <aekorotkov@gmail.com>
Re: RFC: adding pytest as a supported test framework Jacob Champion <jacob.champion@enterprisedb.com>
Re: RFC: adding pytest as a supported test framework Alexander Korotkov <aekorotkov@gmail.com>
Hi,

(I don't have an opinion which language should be selected
here.)

In 
  "Re: RFC: adding pytest as a supported test framework" on Wed, 12 Jun 2024 12:31:23 -0700,
  Jacob Champion  wrote:

> - I like Ruby as a language but have no experience using it for
> testing. (RSpec did come up during the unconference session and
> subsequent hallway conversations.)

If we want to select Ruby, I can help. (I'm a Ruby committer
and a maintainer of a testing framework bundled in Ruby.)

I'm using Ruby for PGroonga's tests that can't be covered by
pg_regress. For example, streaming replication related
tests. PGroonga has a small utility for it:
https://github.com/pgroonga/pgroonga/blob/main/test/helpers/sandbox.rb

Here is a streaming replication test with it:
https://github.com/pgroonga/pgroonga/blob/main/test/test-streaming-replication.rb

I'm using test-unit as testing framework that is bundled in
Ruby: https://github.com/test-unit/test-unit/

I don't recommend that we use RSpec as testing framework
even if we select Ruby. RSpec may change API. (RSpec did it
several times in the past.) If testing framework changes API, we
need to rewrite our tests to adapt the change.

I'll never change test-unit API because I don't want to
rewrite existing tests.


Thanks,
-- 
kou


В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: Peter Geoghegan
Дата:
FAQ