Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: How to do automated tests of a database centric CPAN module

by Khen1950fx (Canon)
on Oct 21, 2012 at 01:28 UTC ( #1000163=note: print w/ replies, xml ) Need Help??


in reply to How to do automated tests of a database centric CPAN module

The CPAN testers are a fairly savvy group. I can't imagine any situation where they would have a problem running your tests; however, it is definitely feasible to to have a little SQLite sandbox to play around in. You want to look at: DBIx::Class::Migration. Start with: DBIx::Class::Migration::Tutorial::Testing.


Comment on Re: How to do automated tests of a database centric CPAN module
Re^2: How to do automated tests of a database centric CPAN module
by jds17 (Pilgrim) on Oct 21, 2012 at 09:21 UTC
    Thank you for these references, Khen1950fx, I will see how the testing was implemented there.
Re^2: How to do automated tests of a database centric CPAN module
by DrHyde (Prior) on Oct 23, 2012 at 11:26 UTC
    The cpan-testers-discuss mailing list would be the best place to ask about stuff like this. But yes, SQLite is a good choice. MySQL is a good second choice as it's fairly commonly installed. Anything more exotic probably won't get tested much, or, indeed, at all, because setting up things like Oracle is a pain in the arse.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1000163]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2014-10-31 22:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (225 votes), past polls