I think you might be interested in the 'setup' and 'teardown' methods. Read through the ruby-doc.org page on the Test:Unit module.
On 26/02/07, Jason <[EMAIL PROTECTED]> wrote:
I have numerous TC methods within a class. Before I execute the script, I have a batch file (C:\mybatchfile.bat) I run that basically resets the database and then performs some inserts for database setup. The test data and scripts I am creating are using the same data.
[snip] So, how can I call this batch file in between each TC, with the batch file
completing before starting TC#2? TIA, Jason
_______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general