I’ve just released pgTAP 0.14. This release focuses on getting more schema functions into your hands, as well as fixing a few issues. Changes:
SET search_pathstatements to
uninstall_pgtap.sql.inso that it will work properly when TAP is installed in its own schema. Thanks to Ben for the catch!
- Added commands to drop
os_name(). This is somewhat experimental. If you have
uname, it’s probably correct, but assistance in improving OS detection in the
Makefilewould be greatly appreciated. Notably, it does not detect Windows.
ok()smarter when the test result is passed as
NULL. It was dying, but now it simply fails and attaches a diagnostic message reporting that the test result was
NULL. Reported by Jason Gordon.
- Fixed an issue in
check_test()where an extra character was removed from the beginning of the diagnostic output before testing it.
- Fixed a bug comparing
names on PostgreSQL 8.2, previously hacked around.
- Switched to pure SQL implementations of the
pg_version_num()functions, to simplify including pgTAP in module distributions.
- Added a note to
README.pgtapabout the need to avoid
cmp_ok()in tests run as part of a distribution.
Looking for the comments? Try the old layout.