We did some work at the Djangocon.eu sprint on integration testing of
Django with Windmill, which should be complementary to the qunit work,
qunit does proper unit testing, windmill is more for integration
testing (http://en.wikipedia.org/wiki/Integration_testing)
I've made a quick branch to demo this, here's how to get it running:
Recording of tests is achieved by
1. Start your dev server: ./manage.py runserver
2. Start windmill with your browser of choice: windmill firefox
http://localhost:8000 3. From the windmill menu start recording
4. Navigate through the test you wish to perform by clicking in
browser
5. Save your test, you will get a list of python commands that emulate
the test
6. Plug your test into your test cases: e.g. see tests/regressiontests/
admin_integration/tests.py in checkout above
Hopefully this will be of use to someone.
Thanks
Michael