I think you need to load the script to make use of the functions.pgTAP: Documentationwhere it says-- Load the TAP functions.
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных