File Release Notes and Changelog

Release Name: 0.16

Release Notes

pgTAP 0.16
==========

pgTAP is a unit testing framework for PostgreSQL written in PL/pgSQL and
PL/SQL. It includes a comprehensive collection of TAP-emitting assertion
functions, as well as the ability to integrate with other TAP-emitting test
frameworks. It can also be used in the xUnit testing style.

pgTAP 0.16 includes the following improvements:

 * Fixed a bug in the makefile that prevented OS detection from working
   properly on many platforms (including Linux, and probably many others).
   This allows `os_name()` to actually work on those platforms.
 * Added `has_schema()` and `hasnt_schema()`.
 * Added `has_type()`, `hasnt_type()`, `has_domain()`, `hasnt_domain()`,
   `has_enum()`, and `hasnt_enum()`.
 * Added `enum_has_labels()`.
 * Added compatibility with PostgreSQL 8.4devel.

See the Changes document for more details. Enjoy!

Change Log

0.16  2009-02-03T17:37:03
      - Switched from a crazy trinary logic in `is()` and `isnt()` to the use
        of `IS NOT DISTINCT FROM` and `IS DISTINCT FROM`. Swiped from PGUnit.
      - Fixed documentation for the short version of `--help` in `pg_prove`.
        It's `-H`, not `-h`.
      - Fixed a bug in the makefile that prevented OS detection from working
        properly on many platforms (including Linux, and probably many
        others). This allows `os_name()` to actually work on those platforms.
      - The definition of the `pg_typeof()` function is removed when
        installing on POstgresQL 8.4 and no C code is compiled, since the only
        C code is for this function. This is because `pg_typeof()` is included
        with PostgreSQL 8.4.
      - Added `has_schema()` and `hasnt_schema()`.
      - Added `has_type()`, `hasnt_type()`, `has_domain()`, `hasnt_domain()`,
        `has_enum()`, and `hasnt_enum()`.
      - Added `enum_has_labels()`.
      - Updated the `Makefile` to fix the shebang line in `pg_prove` if
        Perl is found, and to emite a warning if the `$PERL` variable is not
        set. - Updated the `Makefile` so that if `$PERL` is set and
        Tap::Harness is not installed, it warns the user to install it in
        order to use `pg_prove`. - Updated the `Makefile` to set the location
        of the `psql` binary to the bin directory specified for PostgreSQL
        when it was built.
      - Fixed `pg_version_num()` to work on PostgreSQL 8.4devel.
      - Fixed test failures on PostgreSQL 8.4devel.

0.15  2009-01-20T18:41:24
      - Changed `pg_typeof()` from immutable to stable, in compliance with its
        configuration in the forthcoming PostgreSQL 8.4.
      - Added `do_tap()`, which finds test functions and runs them, allowing
        tap tests to be embedded in functions and then executed all at once.
      - Added `runtests()`, which introduces xUnit-style test running, for
        those who prefer to put their tests in a slew of test functions and
        then run one function to run all of the test functions (plus startup,
        setup, teardown, and shutdown tests).
      - Added `findfuncs()`, which is used by `do_tap()` to find the functions
        to execute.
      - The `col_type_is()` function now requires that the type be visible in
        the search path when it is called without a schema argument.
      - The `plan()` function no longer resets the `client_min_messages`
        setting to its default value, but leaves it set to whatever it was set
        to before the function was called.
      - Fixed a typo in the documentation of the short version of the
        `--version` option to `pg_prove`, which is `-V`, not `-v`.
      - Added `pgtap_version()`.
      - Added the "html" make target to generate the HTML documentation for
        the Web site, including a table of contents and documenation for
        `pg_prove`.
Powered By FusionForge