Re: RFC: adding pytest as a supported test framework

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: RFC: adding pytest as a supported test framework
Дата
Msg-id CA+TgmobDH42uGZmehxwzjLCNTc=FcBDNKUEjMxC1jfXwKZA79Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: RFC: adding pytest as a supported test framework  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Thu, Jun 13, 2024 at 11:19 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> I wonder if we should be checking out some of the other newer
> languages that were mentioned upthread.  It feels like going to
> Python here will lead to having two testing infrastructures with
> mas-o-menos the same capabilities, leaving us with a situation
> where people have to know both languages in order to make sense of
> our test suite.  I find it hard to picture that as an improvement
> over the status quo.

As I see it, one big problem is that if you pick a language that's too
new, it's more likely to fade away. Python is very well-established,
e.g. see

https://www.tiobe.com/tiobe-index/

That gives Python a rating of 15.39%; vs. Perl at 0.69%. There are
other things that you could pick, for sure, like Javascript, but if
you want a scripting language that's popular now, Python is hard to
beat. And that means it's more likely to still have some life in it 10
or 20 years from now than many other things.

Not all sites agree on which programming languages are actually the
most popular and I'm not strongly against considering other
possibilities, but Python seems to be pretty high on most lists, often
#1, and that does matter.

--
Robert Haas
EDB: http://www.enterprisedb.com



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Jonathan S. Katz"
Дата:
Сообщение: Re: Conflict Detection and Resolution
Следующее
От: m.litsarev@postgrespro.ru
Дата:
Сообщение: Re: SQL function which allows to distinguish a server being in point in time recovery mode and an ordinary replica