David E. Wheeler wrote:
> On Jan 7, 2016, at 11:20 AM, Jim Nasby <Jim.Nasby@BlueTreble.com> wrote:
>
> >>> Also worth noting: the only reason I'm using pg_regress is it's the easiest
> >>> way to get a test cluster. If not for that, I'd just use pg_prove since I'm
> >>> already using pgTap.
> >>
> >> In 9.5 you might want to "use PostgresNode" which allows you to initdb
> >> and such.
> >
> > Oooh, thanks! I might well just copy that into my pgxntool utility.
>
> Is this documented somewhere?
Not in detail. Patches welcome; see the "regress-tap" sect1 in
doc/src/sgml/regress.sgml.
> If it’s Perl, seems like it’d only be useful for those of us who compile from source, yes?
Feel free to submit patches for discussion to install the modules. We
already install pg_regress under lib/pgxs/src/test/regress/ so I see no
reason we couldn't install the Perl test modules somewhere. If you
hurry you can still make it to 9.6's last commitfest.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services