Skip to content

jonmc12/django-jasmine

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-jasmine

django-jasmine integrates the Jasmine Javascript testing framework with Django. Jasmine is a behavior-driven development framework for testing your JavaScript code. It does not depend on any other JavaScript frameworks. It does not require a DOM. And it has a clean, obvious syntax so that you can easily write tests.

installation

  1. pip install django-jasmine
  2. Add 'django_jasmine' to your settings.INSTALLED_APPS.
  3. Add settings.JASMINE_TEST_DIRECTORY, containing the path to your javascript jasmine test files. Files.json should be in this directory and all test files should be in settings.JASMINE_TEST_DIRECTORY + '/spec' *
  4. Add all Javascript files (including jQuery, and any other libraries) to files.json
  5. Add a urlconf to include('django_jasmine.urls').
  6. Visit the URL you've included in your urlconf to display Jasmine test results.

See the example directory for more information.

license

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

About

Package to integrate Jasmine with Django

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.5%
  • Python 3.5%