http://www.perlmonks.org?node_id=1015936


in reply to Class::DBIx is driving me to drink!

Check out Test::DBIx::Class, maybe it'll help you aggregate some of your test logic and abstract a few things so you can cut down on your typing.

Three thousand years of beautiful tradition, from Moses to Sandy Koufax, you're god damn right I'm living in the fucking past

  • Comment on Re: Class::DBIx is driving me to drink!

Replies are listed 'Best First'.
Re^2: Class::DBIx is driving me to drink!
by blue_cowdawg (Monsignor) on Jan 30, 2013 at 13:08 UTC
        Check out Test::DBIx::Class

    That's some neat stuff.

    One thing I'm not sure about though:

    use Test::More; use strict; use warnings; use Test::DBIx::Class qw(:resultsets); ## Your testing code below ## ## Your testing code above ## done_testing;
    How in the world does Test::DBIx::Class know to look for the result sets? PFM?


    Peter L. Berghold -- Unix Professional
    Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg