{ "info": { "author": "Dmitry Gladkov", "author_email": "dmitry.gladkov@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Framework :: Django", "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development" ], "description": "Nose Django Querycount Plugin\n========================\n\nCounts queries for each test and shows result in the end in table. XML otput\nand other fancy stuff will be added later.\n\nInstallation\n------------\nFrom the source repository:\n\n $ pip install git+git://github.com/dgladkov/nose-django-querycount.git\n\nFrom PyPI:\n\n $ pip install nose-django-querycount\n\nUsage\n------------\n\nCurrently only nose is supported, but native Django runner support is planned.\nRun like following:\n\n $ nosetests --with-querycount\n\nAlternatively, if you use [django-nose][], add it to your Django settings\nlike so:\n\n NOSE_ARGS = ['--with-querycount']\n NOSE_PLUGINS = [\n 'nosequerycount.plugin.DjangoQueryCountPlugin',\n ]\n\nOptions\n------------\n\n $ nosetests --with-querycount --querycount-threshold=15\n\nProvides query count threshold for each test. If test run exceeds 15 queries,\nquery count number will be red. Works only for terminal output and only if\nyour terminal application supports coloring.\n\nWarning\n------------\n\n**This plugin sets DEBUG=True for tests, it can break your existing tests!**\n\nDjango test runner sets DEBUG to False when when running test, but Django\nsaves query log only when DEBUG mode is enabled.\n\n\n[django-nose]: https://github.com/jbalogh/django-nose", "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/dgladkov/nose-django-querycount", "keywords": "test unittest nosetests nose plugin django queries querycount", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "nose-django-querycount", "package_url": "https://pypi.org/project/nose-django-querycount/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/nose-django-querycount/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/dgladkov/nose-django-querycount" }, "release_url": "https://pypi.org/project/nose-django-querycount/0.3/", "requires_dist": null, "requires_python": null, "summary": "Nose plugin for counting queries in Django tests", "version": "0.3" }, "last_serial": 795501, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "e670ae32542d42c7f345866855daf593", "sha256": "22f52a8e1ea1ad4b0c36a72148f972fdd17524214e4cc75be9519d0ff6168a7b" }, "downloads": -1, "filename": "nose-django-querycount-0.2.tar.gz", "has_sig": false, "md5_digest": "e670ae32542d42c7f345866855daf593", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4289, "upload_time": "2011-03-15T04:53:38", "url": "https://files.pythonhosted.org/packages/ce/4e/2f31a5963e9b7a2c28936eae217ba6116fddfd1c88e6d51c5ca7c6b151ee/nose-django-querycount-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "0eab7089437f5e85e24426d7a95fc0c3", "sha256": "cde45d1b70821e3d99c655053389bacf67735e127609c2539caf4b8c5d99d8f1" }, "downloads": -1, "filename": "nose-django-querycount-0.3.tar.gz", "has_sig": false, "md5_digest": "0eab7089437f5e85e24426d7a95fc0c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4491, "upload_time": "2013-03-13T13:16:35", "url": "https://files.pythonhosted.org/packages/20/11/2952cfef6899df0d3c517e6bb1ab16e41099e35c6ef61a13fb9c1c5c134c/nose-django-querycount-0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0eab7089437f5e85e24426d7a95fc0c3", "sha256": "cde45d1b70821e3d99c655053389bacf67735e127609c2539caf4b8c5d99d8f1" }, "downloads": -1, "filename": "nose-django-querycount-0.3.tar.gz", "has_sig": false, "md5_digest": "0eab7089437f5e85e24426d7a95fc0c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4491, "upload_time": "2013-03-13T13:16:35", "url": "https://files.pythonhosted.org/packages/20/11/2952cfef6899df0d3c517e6bb1ab16e41099e35c6ef61a13fb9c1c5c134c/nose-django-querycount-0.3.tar.gz" } ] }