fREW Schmidt wrote on 6/4/09 10:02 PM:
> Hi all!
> 
> I am working on a basic plugin for DBIx::Class integration with CGIApp.  At
> this point all it does is give you $self->schema, some pagination stuff, and
> some sorting stuff.  The issue that I am having at this point is how to test
> it.  Does using a mocked SQLite database sound good enough to everyone
> here?  Will requiring sqlite for the tests be too over the top?
> 

be sure to look at DBICx::TestDatabase

sqlite is pretty standard and self-contained, and if someone is using DBIC
anyway and installing your module, then you have to assume the user already has
DBIC.

so yes, sqlite is great for testing, and not too over the top imo.

-- 
Peter Karman  .  http://peknet.com/  .  [email protected]

#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################

Reply via email to