> They work if these tests are run individually. However, when I run the
> class, they fail, since the TC#1 already created the user jdandy.
>
> So, how can I call this batch file in between each TC, with the batch file
> completing before starting TC#2?
You might consider making a direct datab
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 r
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.
For example, I have a