Re: [REVIEW] In-core regression tests for replication, cascading, archiving, PITR, etc.
В списке pgsql-hackers по дате отправления:
| От | Alvaro Herrera |
|---|---|
| Тема | Re: [REVIEW] In-core regression tests for replication, cascading, archiving, PITR, etc. |
| Дата | |
| Msg-id | 20160226155906.GA155959@alvherre.pgsql обсуждение исходный текст |
| Ответ на | Re: [REVIEW] In-core regression tests for replication, cascading, archiving, PITR, etc. (Victor Wagner <vitus@wagner.pp.ru>) |
| Список | pgsql-hackers |
Victor Wagner wrote: > I'll second Stas' suggestion about psql_ok/psql_fail functions. > > 1. psql_ok instead of just psql would provide visual feedback for the > reader of code. One would see 'here condition is tested, here is > something ended with _ok/_fail'. > > It would be nice that seeing say "use Test::More tests => 4" > one can immediately see "Yes, there is three _ok's and one _fail in the > script' > > 2. I have use case for psql_fail code. In my libpq failover patch there > is number of cases, where it should be tested that connection is not > established, > > But this is rather about further evolution of the tap test library, not > about this set of tests. This makes sense to me. Please submit a patch for this. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера