Testing dbix class

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Testing dbix class

Gordon Stewart
Dear list 

I am currently looking to test 30 scheme files using dbix class, with a number of functions in each. Is there a nice way or standard way of testing these.  I would like to use SQLite so that the tests I write do not  change the production database 

Regards 

Gordon 
Sent from my iPhone

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/dbix-class@...
Reply | Threaded
Open this post in threaded view
|

Re: Testing dbix class

Ben Tilly
This is exactly the use case that Test::DBIx::Class aims to address.

On Wed, Mar 11, 2015 at 1:02 AM, Gordon Stewart
<[hidden email]> wrote:

> Dear list
>
> I am currently looking to test 30 scheme files using dbix class, with a
> number of functions in each. Is there a nice way or standard way of testing
> these.  I would like to use SQLite so that the tests I write do not  change
> the production database
>
> Regards
>
> Gordon
> Sent from my iPhone
>
> _______________________________________________
> List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
> IRC: irc.perl.org#dbix-class
> SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
> Searchable Archive:
> http://www.grokbase.com/group/dbix-class@...

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/dbix-class@...