[Django]-What's your favorite way to test the javascript in your djangoapp?

1👍

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.

0👍

A company I used to intern for Selenium for Javascript testing on server-side.

I think they use Django-Selenium.

Hope this helps…

Leave a comment