jdhardy / django-ironpython
Patches to get Django runing under IronPython.
$ hg clone http://bitbucket.org/jdhardy/django-ironpython/
Running the Django Test Suite Under IronPython
I've tried to make it as simple as possible to run the Django test suite on IronPython. The only prerequisite that you should need is a copy of IronPython 2.6; I recommend the installed version as it comes the standard library.
The first step is to get the necessary projects: django-ironpython and django-ironpython tests:
Check django-ironpython-tests\testenv.cmd to make sure that the paths there match your system, especially the IronPython path. The latest versions uses django-mssql instead of sqlite (as my sqlite driver needs some work), and expects an SQL Server instance at localhost\SQLEXPRESS. Downloading and installing SQL Server Express (2005 or 2008) is enough to run the tests.
The next step is to install the extra DLLs needed to run the tests (so far, just System.Data.SQLite):
Finally, we can run the tests:
It's currently unlikely that many (if any) of the tests will actually pass. That said, run the tests, see what breaks, file issues on it, and provide patches.
This revision is from 2010-02-24 19:57
