[Dancer-users] Dancer::Plugin:Database with multiple connections - request for testers
sukria at sukria.net
Wed Sep 15 08:55:35 CEST 2010
Le 15/09/2010 00:18, David Precious a écrit :
Great news! :)
> I also plan to write some good tests for it, but I'm not sure the best way to
> go about testing it to be honest - any thoughts would be appreciated.
> I could use DBD::Mock or Test::MockDBI to mock up the database interactions so
> I'm just testing the way the plugin works, but I'd ideally need to test it as
> it would be used from a Dancer app, which is the bit I'm not sure about.
I suggest taking a look at Test::Database, it's exactly what you need ;)
More information about the Dancer-users