Hey all,

I just wanted to mention that I've "ported" Test::More to PostgreSQL. Yes, you heard right. Details here:

  http://justatheory.com/computers/databases/postgresql/introducing_pgtap.html

The project page for it should appear here in a day or two:

  http://pgfoundry.org/projects/pgtap/

It includes a Perl app, pg_prove, that works just like prove, but use psql under the hood, and has relevant options for it. Thanks to Ovid and Andy for TAP::Harness -- it made it really easy!

But a quick question: I'm going to start writing SQL unit tests in an Catalyst app I'm building. I'm thinking that the SQL tests will be right next to the Perl tests. So they'd be t/*.s to complement the t/ *.t Perl tests. So the question: How do I modify `make test` and/or `./ Build test` so that they can use a single TAP::Harness to process both types of tests, but send *.t tests to Perl and *.s tests to psql?

Thanks!

David

Reply via email to