On Mon, Nov 23, 2009 at 09:16:07PM +0100, Rene Schickbauer wrote:
> 
> How does that cpantesters stuff work? It's an automatic thingie,
> right? I know i don't have enough test scripts (i actually only test
> if the thing loads at all - i'm not clear how i'm gonna test the
> framework without a postgresql database and without someone clicking
> an complaining that "all looks wrong").

For tests that need a database, you may want to have a look at
Test::Database.

It should help you when you run your test suite locally (you will have
a postgres test db installed and configured, so the full test suite will
be run at least on your machine, which is something good already).

When the test suite is run on a CPAN Tester machine with Test::Database
installed as part of the toolchain AND a postgres database configured,
you full test suite will be run there too.

I don't know how many testers have it fully installed and configured,
so that last step may depend on a big IF.

-- 
 Philippe Bruhat (BooK)

 If you doubt a friend, you are not being a friend.
                                    (Moral from Groo The Wanderer #62 (Epic))

Reply via email to