File Release Notes and Changelog

Release Name: 0.14

Release Notes

pgTAP 0.14
==========

pgTAP is a collection of TAP-emitting unit testing functions written in
PL/pgSQL and PL/SQL. It is based on the Test::More module distributed with
Perl 5. You could even consider it a port of sorts.

pgTAP 0.14 includes the following improvements:

* Added `has_index()`, `index_is_unique()`, `index_is_primary(),
`is_clustered()`, and `index_is_type()`.

* Added `os_name()`. This is somewhat experimental. If you have `uname`, it's
  probably correct, but assistance in improving OS detection in the `Makefile`
  would be greatly appreciated. Notably, it does not detect Windows.

* Made `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.

* Added `has_trigger()` and `trigger_is()`.

See the Changes document for more details. Enjoy!

Change Log

0.14  2008-10-27T22:43:36
      - Added `SET search_path` statements to `uninstall_pgtap.sql.in` so that
        it will work properly when TAP is installed in its own schema. Thanks to
        Ben for the catch!
      - Added commands to drop `pg_version()` and `pg_version_num()`
        to`uninstall_pgtap.sql.in`.
      - Added `has_index()`, `index_is_unique()`, `index_is_primary(),
        `is_clustered()`, and `index_is_type()`.
      - Added `os_name()`. This is somewhat experimental. If you have `uname`,
        it's probably correct, but assistance in improving OS detection in the
        `Makefile` would be greatly appreciated. Notably, it does not detect
        Windows.
      - Made `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 `name[]`s on PostgreSQL 8.2, previously hacked
        around.
      - Added `has_trigger()` and `trigger_is()`.
      - Switched to pure SQL implementations of the `pg_version()` and
        `pg_version_num()` functions, to simplify including pgTAP in module
        distributions.
      - Added a note to `README.pgtap` about the need to avoid `pg_typeof()`
        and `cmp_ok()` in tests run as part of a distribution.

0.13  2008-10-13T19:09:46
      - Added `pg_version()` and `pg_version_num()`.
      - Documented `pg_typeof()`.
Powered By FusionForge