|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Executing something before all tests using 'prove -s'by Hue-Bond (Priest) |
| on Feb 26, 2009 at 16:14 UTC ( #746583=perlquestion: print w/ replies, xml ) | Need Help?? |
|
Hue-Bond has asked for the
wisdom of the Perl Monks concerning the following question:
Monks, I'm consistently using prove -s to run my tests in a random fashion. Some of them interact with a database, and currently I'm resetting the schema and data by hand before running the test suite. Is there a way to tell prove to run a specific program before running the tests, so the database cleanup can be automated? Or else, what's the standard procedure for doing this? --
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||