What is your favorite way to test javascript in your djangoapp?

I worked a lot with django. Now I have an application with built-in JavaScript that I want to test. What is your favorite way to integrate real browser tests in django unittest? twill? selenium? windmill?

+4
source share
2 answers

If you have not already done so, you should use nose for your basic module testing needs with the django-nose application.

Having done this, when you are ready to automate the actual testing of the browser, you should grab alfajor , which is a very convenient python shell around various libraries such as selenium and windmill. Developers are actively working on integration as a django application into django_alfajor .

In terms of pure javascript unit tests, however, there is a decent entry fooobar.com/questions/11946 / ... , in different frameworks.

+1
source

The company I used as an intern for Selenium to test server-side Javascript.

I think they use Django-Selenium .

Hope this helps ...

0
source

All Articles