{ "info": { "author": "Jake Harding", "author_email": "jacobeharding@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: JavaScript", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Testing" ], "description": "==============\ndjango-jasmine\n==============\n\nMaster:\n\n.. image:: https://travis-ci.org/jakeharding/django-jasmine.svg?branch=master\n :target: https://travis-ci.org/jakeharding/django-jasmine\n \n.. image:: https://coveralls.io/repos/github/jakeharding/django-jasmine/badge.svg?branch=master\n :target: https://coveralls.io/github/jakeharding/django-jasmine\n\nDevelop:\n\n.. image:: https://travis-ci.org/jakeharding/django-jasmine.svg?branch=develop\n :target: https://travis-ci.org/jakeharding/django-jasmine \n.. image:: https://coveralls.io/repos/github/jakeharding/django-jasmine/badge.svg?branch=develop\n :target: https://coveralls.io/github/jakeharding/django-jasmine\n\n\nPull requests and issues are welcome!\n-------------------------------------\n\ndjango-jasmine integrates the\n`Jasmine Javascript testing framework `_\nwith `Django `_. Jasmine is a behavior-driven\ndevelopment framework for testing your JavaScript code. It does not depend on\nany other JavaScript frameworks. It does not require a DOM. And it has a\nclean, obvious syntax so that you can easily write tests.\n\ndjango-jasmine also integrates the\n`jasmine-jquery `_ plugin, that\nprovides a set of custom matchers for jQuery framework and an API for handling\nHTML fixtures in your specs.\n\n\nInstallation\n============\n\n1. pip install django-jasmine\n2. Add 'django_jasmine' to your settings.INSTALLED_APPS.\n3. Add settings.JASMINE_TEST_DIRECTORY, containing the path to your javascript\n jasmine test files. Files.json should be in this directory and all test\n files should be in os.path.join(settings.JASMINE_TEST_DIRECTORY, 'spec') *\n4. Makes sure you have properly defined a STATIC_URL.\n5. Add all Javascript files (including jQuery, and any other libraries) to\n files.json\n6. Add a urlconf to include('django_jasmine.urls').\n7. Visit the URL you've included in your urlconf to display Jasmine test\n results.\n8. Add a corresponding tag from the Jasmine github repo to specify a version of Jasmine to test with. Otherwise the latest tag, currently v2.4.1, is loaded.\n\n*Jasmine is now loaded over cdn.rawgit.com. A very obvious error message will appear if Jasmine isn't loaded correctly.*\n\n*See the example_project directory for more information.*\n\n\nTemplate\n========\n\nIf you wish to modify the jasmine index template for any reason (e.g. add a new\njasmine reporter), you can create a jasmine/index.html template as follow::\n\n {% extends \"jasmine/base.html\" %}\n\n {% block jasmine_preload %}\n {# If you need to do any setup before dependencies in files.json are loaded (like define app namespace) #}\n {% endblock %}\n\n {% block jasmine_extra %}\n {# If you want to extend the default jasmineEnv config #}\n {% endblock %}\n\n {% block jasmine %}\n {# If you wish to rewrite the whole html runner script #}\n {% endblock %}\n\n\n*Read templates/jasmine/base.html for the default config*\n\nFixtures\n========\n\njasmine-jquery allowing to add fixtures, you can set them in\nos.path.join(settings.JASMINE_TEST_DIRECTORY, 'fixtures'). Then in your spec::\n\n jasmine.getFixtures().fixturesPath = \"/jasmine/fixtures/\";\n loadFixtures(\"template.html\")\n\n\nDebug\n=====\n\nIf you encounter some errors that isn't obvious to debug, you can add\n\"django_jasmine\" to your loggers.\n\n\nIntegration with ./manage.py tests\n==================================\n\nTo do so, I recommend using\n`EnvJasmine `_, and use\n`Fabric `_ to run EnvJasmine after\nrunning manage.py tests\n\n\nTodo\n====\n\n1. Keep improving django tests\n2. Add Growl/notifyd notifications\n3. Add more settings for more flexibility i.e. make a symbolic constant for cdn url.\n4. Thoroughly test fixtures and jasmine-jquery features.\n5. Improve README.\n6. Use a more specific pattern matcher for the version url.\n7. Improve error message when Jasmine fails to load over cdn.\n\n\nLicense\n=======\n\nCopyright (c) 2010 Movity, Inc\nLicensed new-style BSD, also containing Jasmine, which is licensed MIT. See\nLICENSE file for more information.\n\nContributing\n============\n\nPlease see the `contributing file `_.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jakeharding/django-jasmine", "keywords": "django javascript test", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-jasmine", "package_url": "https://pypi.org/project/django-jasmine/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-jasmine/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/jakeharding/django-jasmine" }, "release_url": "https://pypi.org/project/django-jasmine/0.5.1/", "requires_dist": null, "requires_python": null, "summary": "Jasmine Javascript testing integration for Django.", "version": "0.5.1" }, "last_serial": 2860327, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "3150c7f1dee1ab55351f7e2a482d6d7f", "sha256": "45f963f1ce25e7cd2fa8e87258d7ec0fe85210914e4f47992a0eb70915a99d74" }, "downloads": -1, "filename": "django-jasmine-0.2.tar.gz", "has_sig": false, "md5_digest": "3150c7f1dee1ab55351f7e2a482d6d7f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 41292, "upload_time": "2011-09-19T07:07:39", "url": "https://files.pythonhosted.org/packages/d8/0e/cf904bd27f9295338732230c0750ca8d541cd3dcc2d5bde3c52b8b7cd856/django-jasmine-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "b0fcabd5f64c1e4b39b94129e5a1c0f8", "sha256": "4f4f2d570b68e262ca5fdb7d808c045fdc2ebc0ea93e3520fa1e7b55714f4870" }, "downloads": -1, "filename": "django-jasmine-0.3.tar.gz", "has_sig": false, "md5_digest": "b0fcabd5f64c1e4b39b94129e5a1c0f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5986, "upload_time": "2011-10-05T01:39:30", "url": "https://files.pythonhosted.org/packages/d8/5e/27b7c069ca43b00c00aa880d00b93a86f9743daa9e1ab8ffdb7de671fee0/django-jasmine-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "eb3cf74634264aa0c39a5af74a085d8a", "sha256": "fdc8f8e65a5f4ddc6dedc4d9dc7321ef465bb22af3eb2e036b6cdf7ba4373f68" }, "downloads": -1, "filename": "django-jasmine-0.3.1.tar.gz", "has_sig": false, "md5_digest": "eb3cf74634264aa0c39a5af74a085d8a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 66722, "upload_time": "2011-10-12T05:37:05", "url": "https://files.pythonhosted.org/packages/a5/b3/9038e971d7bf505acb6e13387826c568e46f2d6665cbcfd181baac2c9ec4/django-jasmine-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "c66eaf2d40b1301e2fc1045b7fe37300", "sha256": "e7e9c6e791b3991126d5513d822e2e969516947e33327bf864ad44479ca85c12" }, "downloads": -1, "filename": "django-jasmine-0.3.2.tar.gz", "has_sig": false, "md5_digest": "c66eaf2d40b1301e2fc1045b7fe37300", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 68390, "upload_time": "2011-12-28T09:48:46", "url": "https://files.pythonhosted.org/packages/b6/d3/3b985b288a753edf7bae095878133b6c321e7ece63519221d1732e2db8af/django-jasmine-0.3.2.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "14e8f4e706e6a807662ba74692834c15", "sha256": "6c9efe24c6a00ea67f4c0e720a3eb38e033a102941435c404d1c6dbfc515d212" }, "downloads": -1, "filename": "django-jasmine-0.4.tar.gz", "has_sig": false, "md5_digest": "14e8f4e706e6a807662ba74692834c15", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 71080, "upload_time": "2013-08-10T08:59:09", "url": "https://files.pythonhosted.org/packages/09/19/47263182e6fcd6fb9f48109b195596c7fd389591bc7b148dcc5c4d29f5b1/django-jasmine-0.4.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "41c90e71d5975178e93ba6a0a0f38762", "sha256": "85d1cf4d93bff23ad2b6b6701d194995b7a9cd371c049f99746c34bfac3afe2e" }, "downloads": -1, "filename": "django-jasmine-0.4.1.tar.gz", "has_sig": false, "md5_digest": "41c90e71d5975178e93ba6a0a0f38762", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 71183, "upload_time": "2013-10-10T06:17:25", "url": "https://files.pythonhosted.org/packages/06/11/8e839b135c508e76efc510f708fc44c31a0bc02285d230dafeca8e88b371/django-jasmine-0.4.1.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "969cf6c944630f1eff3d696d003b82f6", "sha256": "12d32bd7635183f3c472141d407d831bc2a79482d05dc95ff5ab298436090a4e" }, "downloads": -1, "filename": "django_jasmine-0.4.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "969cf6c944630f1eff3d696d003b82f6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 90113, "upload_time": "2016-03-10T18:55:45", "url": "https://files.pythonhosted.org/packages/51/21/65cc676ceb81a178af243cafbb9986828d78597071ef757be99a0fbca4b0/django_jasmine-0.4.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "00b05297081c0c85098ccad44ada6ca4", "sha256": "85216eb5e471c64fa7b3bd0cd2ee5a625ff54139a260df8f11599bb342d4c73b" }, "downloads": -1, "filename": "django-jasmine-0.4.2.tar.gz", "has_sig": false, "md5_digest": "00b05297081c0c85098ccad44ada6ca4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 76171, "upload_time": "2016-03-10T18:56:09", "url": "https://files.pythonhosted.org/packages/36/e6/1f06d65af620de8323fb1cbc1a4b5fecce2bad2d83e009c4a81f38a7da68/django-jasmine-0.4.2.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "553cdcdbdd2b2e4135093a85d9edb32f", "sha256": "c2d2186150a5d2d61c43c7b7116769e99c4500f1c837a066197917f8392a28dc" }, "downloads": -1, "filename": "django_jasmine-0.5.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "553cdcdbdd2b2e4135093a85d9edb32f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 92815, "upload_time": "2016-03-10T18:55:54", "url": "https://files.pythonhosted.org/packages/9c/ed/8240430bf4e6596e78034726ac048cbcc09542e3db0e512c9aeb9247418c/django_jasmine-0.5.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "28dc70cda5a77144597548e0e123cca0", "sha256": "e00e6983cdc5ad05d8620195f6d943a3d583d8f8153603612ecf3288801ed205" }, "downloads": -1, "filename": "django-jasmine-0.5.0.tar.gz", "has_sig": false, "md5_digest": "28dc70cda5a77144597548e0e123cca0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 76571, "upload_time": "2016-03-10T18:56:18", "url": "https://files.pythonhosted.org/packages/2a/8c/5c52a94ab29c2d8ef7f1702a433abd11f42aaea4e6b6e94fc3f351265710/django-jasmine-0.5.0.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "d2b50304b02e919300faaf0fab40b4f4", "sha256": "911a50c94c50416d0effc7e66cb96deaf26d0a113c28b0bc1f44e2ecf6f43cd5" }, "downloads": -1, "filename": "django-jasmine-0.5.1.tar.gz", "has_sig": false, "md5_digest": "d2b50304b02e919300faaf0fab40b4f4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 74775, "upload_time": "2017-05-08T23:25:32", "url": "https://files.pythonhosted.org/packages/2e/e4/4e6cc16f9895e4187d9174c4d65c8591377565a4814391e5f1f51bdfefe9/django-jasmine-0.5.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d2b50304b02e919300faaf0fab40b4f4", "sha256": "911a50c94c50416d0effc7e66cb96deaf26d0a113c28b0bc1f44e2ecf6f43cd5" }, "downloads": -1, "filename": "django-jasmine-0.5.1.tar.gz", "has_sig": false, "md5_digest": "d2b50304b02e919300faaf0fab40b4f4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 74775, "upload_time": "2017-05-08T23:25:32", "url": "https://files.pythonhosted.org/packages/2e/e4/4e6cc16f9895e4187d9174c4d65c8591377565a4814391e5f1f51bdfefe9/django-jasmine-0.5.1.tar.gz" } ] }