django的qunit javascript测试集成。
django-qunit的Python项目详细描述
Django Qunit
Django Qunit将[Qunit JavaScript测试框架][1]与 [django][2],使在django旁边运行qunit测试成为可能 应用程序和测试ajax例程。
[1]: http://docs.jquery.com/QUnit [2]: http://www.djangoproject.com/
安装
- Add ‘django_qunit’ to your settings.INSTALLED_APPS.
- Add settings.QUNIT_TEST_DIRECTORY, containing the path to your javascript files.
- Add a urlconf to include(‘django_qunit.urls’).
- Visit the URL you’ve included in your urlconf, and it should display QUnit test results.
有关详细信息,请参阅tarball中的示例。
许可证
版权所有(c)2010 Cody Soyland 许可的新型BSD,也包含Qunit,这是许可的麻省理工学院。有关详细信息,请参见许可证文件。