Skip to main content
PyCon US is happening May 14th-22nd in Pittsburgh, PA USA.  Learn more

QUnit Javascript testing integration for Django.

Project description

django-qunit

django-qunit integrates the [QUnit Javascript testing framework][1] with [Django][2], making it possible to run QUnit tests alongside your Django app and test Ajax routines.

[1]: http://docs.jquery.com/QUnit [2]: http://www.djangoproject.com/

installation

  1. Add ‘django_qunit’ to your settings.INSTALLED_APPS.

  2. Add settings.QUNIT_TEST_DIRECTORY, containing the path to your javascript files.

  3. Add a urlconf to include(‘django_qunit.urls’).

  4. Visit the URL you’ve included in your urlconf, and it should display QUnit test results.

See the example in the tarball for more information.

license

Copyright (c) 2010 Cody Soyland Licensed new-style BSD, also containing QUnit, which is licensed MIT. See LICENSE file for more information.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page