> 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 database connection via ODBC or DBI in order to issue a "DELETE 'jdandy' FROM users" SQL command. Also, look into using setup() and teardown() methods in test/unit. _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
