Skip to main content

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-qunit-0.1.1.tar.gz (14.4 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page