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?
--
David Serrano
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Executing something before all tests using 'prove -s'
by ELISHEVA (Prior) on Feb 26, 2009 at 16:43 UTC | |
Re: Executing something before all tests using 'prove -s'
by tirwhan (Abbot) on Feb 26, 2009 at 16:28 UTC | |
Re: Executing something before all tests using 'prove -s'
by Corion (Patriarch) on Feb 26, 2009 at 17:46 UTC |
Back to
Seekers of Perl Wisdom