Hi,
I've been working with django a lot. Now I have an app with JavaScript integrated which I want to test. What's your favorite way to integrate real-browser-tests in the django unittest environment? twill? selenium? windmill?
Hi,
I've been working with django a lot. Now I have an app with JavaScript integrated which I want to test. What's your favorite way to integrate real-browser-tests in the django unittest environment? twill? selenium? windmill?
A company I used to intern for Selenium for Javascript testing on server-side.
I think they use Django-Selenium.
Hope this helps...
If you aren't already, you should be using nose
for your basic unit-testing needs, along with the django-nose
app.
Having done that, when you're ready to automate your actual browser testing you should grab alfajor
, which is a very handy python wrapper around various libraries like selenium and windmill. Developers are actively working on integrating it as a django app in django_alfajor
.
In terms of pure javascript unit tests though, there's a decent write-up here on StackOverflow on the different frameworks.