psql - improve test coverage from 41% to 88%

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема psql - improve test coverage from 41% to 88%
Дата
Msg-id alpine.DEB.2.21.1908281618520.28828@lancre
обсуждение исходный текст
Ответы Re: psql - improve test coverage from 41% to 88%  (Fabien COELHO <coelho@cri.ensmp.fr>)
Список pgsql-hackers
Hello devs,

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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Crash in BRIN summarization
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Improve error detections in TAP tests by spreading safe_psql