Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Writing tests for modules using database handlesby astaines (Curate) |
on Aug 02, 2001 at 01:17 UTC ( [id://101486]=perlquestion: print w/replies, xml ) | Need Help?? |
astaines has asked for the wisdom of the Perl Monks concerning the following question: Hi, I am writing a module which wraps the table_info() function in DBI. Clearly it need a working database handle to operate on. I want to write some test scripts for it. These work fine on my system, where I can feed them a working databse handle easily. How should I provide tests for other people to use, assuming that anyone else is ever mad enough to use this module? I may be missing something fundamental here, but all advice is gratefully accepted.(Any comments on the basic idea of this module, and whether there's a better solution also welcome) Anthony Staines ^^^^^^^^^^^^^^^
Back to
Seekers of Perl Wisdom
|
|