Re: psql - improve test coverage from 41% to 88%

Поиск
Список
Период
Сортировка
Искать
От
Fabien COELHO
Тема
Re: psql - improve test coverage from 41% to 88%
Дата
Msg-id
alpine.DEB.2.21.1909030805160.3362@lancre
Ответ на
Список
Дерево обсуждения
psql - improve test coverage from 41% to 88% Fabien COELHO <coelho@cri.ensmp.fr>
Re: psql - improve test coverage from 41% to 88% Fabien COELHO <coelho@cri.ensmp.fr>
Re: psql - improve test coverage from 41% to 88% Michael Paquier <michael@paquier.xyz>
Re: psql - improve test coverage from 41% to 88% Fabien COELHO <coelho@cri.ensmp.fr>
Re: psql - improve test coverage from 41% to 88% Michael Paquier <michael@paquier.xyz>
Re: psql - improve test coverage from 41% to 88% Fabien COELHO <coelho@cri.ensmp.fr>
Re: psql - improve test coverage from 41% to 88% vignesh C <vignesh21@gmail.com>
Re: psql - improve test coverage from 41% to 88% Fabien COELHO <coelho@cri.ensmp.fr>
Re: psql - improve test coverage from 41% to 88% vignesh C <vignesh21@gmail.com>
Re: psql - improve test coverage from 41% to 88% Fabien COELHO <coelho@cri.ensmp.fr>
Re: psql - improve test coverage from 41% to 88% Alvaro Herrera <alvherre@2ndquadrant.com>
Re: psql - improve test coverage from 41% to 88% Michael Paquier <michael@paquier.xyz>
Re: psql - improve test coverage from 41% to 88% vignesh C <vignesh21@gmail.com>
Re: psql - improve test coverage from 41% to 88% Michael Paquier <michael@paquier.xyz>
Re: psql - improve test coverage from 41% to 88% Fabien COELHO <coelho@cri.ensmp.fr>
Re: psql - improve test coverage from 41% to 88% Michael Paquier <michael@paquier.xyz>
Re: psql - improve test coverage from 41% to 88% David Steele <david@pgmasters.net>
Re: psql - improve test coverage from 41% to 88% Daniel Gustafsson <daniel@yesql.se>
Re: psql - improve test coverage from 41% to 88% Daniel Gustafsson <daniel@yesql.se>
Re: psql - improve test coverage from 41% to 88% Fabien COELHO <coelho@cri.ensmp.fr>
Re: psql - improve test coverage from 41% to 88% Daniel Gustafsson <daniel@yesql.se>
Re: psql - improve test coverage from 41% to 88% Tom Lane <tgl@sss.pgh.pa.us>
Re: psql - improve test coverage from 41% to 88% Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: psql - improve test coverage from 41% to 88% Michael Paquier <michael@paquier.xyz>
Re: psql - improve test coverage from 41% to 88% Fabien COELHO <coelho@cri.ensmp.fr>
Re: psql - improve test coverage from 41% to 88% Andrew Dunstan <andrew.dunstan@2ndquadrant.com>

Attached is a rebase after TestLib.pm got a documentation in 6fcc40b1.

> The attached patch improves psql code coverage by adding a specific TAP test. 
> The 1709 tests take 4 seconds CPU (6.3 elapsed time) on my laptop.
>
> The infrastructure is updated to require perl module "Expect", allowing to 
> test interactive features such as tab completion and prompt changes.
>
> Coverage in "src/bin/psql" jumps from 40.0% of lines and 41.9% of functions 
> to 78.4% of lines and 98.1% of functions with "check-world".

-- 
Fabien.
В списке pgsql-hackers по дате отправления
От: Thomas Munro
Дата:
От: Kyotaro Horiguchi
Дата:
FAQ