Wednesday, July 29, 2009

Testing Django 1.1

I'm sitting here watching the runtests.py script that came with Django 1.1 run in a high verbose mode. I must say that I am happy with this thing as it saves me testing time. Of course, it took me a bit of time to set it up as it doesn't run 100% out of the box. I needed to copy over my settings.py file into the testing directory and touch the __init__.py file. I can understand why this is setup this way but it is a tad bit of a headache to move the files around. I am going to see if I can write something that will take care of setting up a temp db environment for regress purposes. It probably won't account for everything but it could be a start of something....

No comments:

Post a Comment