Re: Still stuck trying to set up testing

2006-07-02 Thread Neilen Marais
Hi On Thu, 08 Jun 2006 23:07:51 -0400, Todd O'Bryan wrote: > And then I need to be running under program control again to add all > my test data to the the db. > > Please tell me that I'm overthinking this and there's some easy way > out of this! The other posters in this thread do give n

Re: Still stuck trying to set up testing

2006-06-09 Thread mamcxyz
I do this and work terrible well. I can debug it from Komodo, I can set breakpoints, Is FAST (all test is under memory) #Clase sobre la cual basar los test... import unittest import sys import os SETTINGS_MODULE = 'settings' project_dir = os.path.abspath('../') sys.path.append(os.path.join(proj

Re: Still stuck trying to set up testing

2006-06-09 Thread Michael Radziej
Todd O'Bryan wrote: > I'm having a chicken-and-egg problem. > > So, I want to drop the test database, recreate it, sync it to the > models, and then populate it with test data, ideally automatically > because automatic tests are far more likely to get run. > > If I want the drop and create c

Re: Still stuck trying to set up testing

2006-06-08 Thread Malcolm Tredinnick
On Thu, 2006-06-08 at 23:07 -0400, Todd O'Bryan wrote: > I'm having a chicken-and-egg problem. > > So, I want to drop the test database, recreate it, sync it to the > models, and then populate it with test data, ideally automatically > because automatic tests are far more likely to get run. >

Still stuck trying to set up testing

2006-06-08 Thread Todd O'Bryan
I'm having a chicken-and-egg problem. So, I want to drop the test database, recreate it, sync it to the models, and then populate it with test data, ideally automatically because automatic tests are far more likely to get run. If I want the drop and create commands to be generic, they need