peter at peknet.com
Thu Jun 4 23:14:35 EDT 2009
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
so yes, sqlite is great for testing, and not too over the top imo.
Peter Karman . http://peknet.com/ . peter at peknet.com
More information about the cgiapp