Squeeks has asked for the wisdom of the Perl Monks concerning the following question:
For my first significant (non Acme::) distribution for CPAN, I've been able to create modules that will interact with a propriety database and in trying to create the tests for all the interactions, have hit a stumbling block - to supply canned data, or not to.
Normally I would ask WWDBID (What Would DBI Do?), however RDBMS-like databases allow permitted users connecting to the server to not just modify rows, but also structure as well. This is a freedom unavailable to me given the way the software works. In conclusion I see a few options:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Test coverage and canned dog food.
by almut (Canon) on Mar 03, 2010 at 10:45 UTC | |
by DrHyde (Prior) on Mar 03, 2010 at 11:36 UTC | |
|
Re: Test coverage and canned dog food.
by JavaFan (Canon) on Mar 03, 2010 at 14:00 UTC | |
|
Re: Test coverage and canned dog food.
by MidLifeXis (Monsignor) on Mar 03, 2010 at 14:17 UTC | |
|
Re: Test coverage and canned dog food.
by CountZero (Bishop) on Mar 03, 2010 at 16:34 UTC |