{ "info": { "author": "Miko\u0142aj Siedlarek", "author_email": "mikolaj@siedlarek.pl", "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 :: Python", "Topic :: Software Development :: Testing" ], "description": "django-testcoverage\r\n===================\r\n\r\nWarning\r\n-------\r\n\r\nThis project is no longer maintained. See Django documentation for an alternative:\r\n\r\nhttps://docs.djangoproject.com/en/dev/topics/testing/advanced/#integration-with-coverage-py\r\n\r\nSummary\r\n-------\r\n\r\n`django-testcoverage` is a package providing code coverage reports for built-in\r\nDjango unit testing framework.\r\n\r\nInstallation\r\n------------\r\n\r\nJust::\r\n\r\n $ pip install django-testcoverage\r\n\r\nNow add a following line to your ``settings.py``::\r\n\r\n TEST_RUNNER = 'testcoverage.test_runner.TestCoverageTestRunner'\r\n\r\nAnd you're ready to go!\r\n\r\nUsage\r\n-----\r\n\r\nCoverage reports are active for default, so you can just run your test\r\nas always::\r\n\r\n $ ./manage.py test\r\n\r\nThis will print the coverage report for all Python modules in your project\r\n(including Django's!) which is almost never what you want. You can specify\r\nwhich applications should be tested::\r\n\r\n $ ./manage.py test myapp secondapp\r\n\r\nIf you do so, coverage reports will be computed only for listed apps.\r\nYou can also globally specify which packages should be included in your\r\ncoverage reports using adding ``TESTCOVERAGE_APPS`` to your ``settings.py``,\r\nlike::\r\n\r\n TESTCOVERAGE_APPS = (\r\n 'somepackage.foo',\r\n 'myapp',\r\n 'secondapp',\r\n )\r\n\r\nThen you can run tests for all applications, but only these listed in\r\n``TESTCOVERAGE_APPS`` will be included in the coverage report.\r\n\r\nYou can also turn off coverage reporting by adding to your settings::\r\n\r\n TESTCOVERAGE_ACTIVE = False\r\n\r\nAuthor and license\r\n------------------\r\n\r\n**Copyright (c) 2011-2014 Miko\u0142aj Siedlarek **\r\n\r\nDistributed on terms of *3-clause BSD license* (AKA *New BSD License*\r\nor *Modified BSD License*). \r\n\r\nFor details conslut ``LICENSE.txt`` file.", "description_content_type": null, "docs_url": "https://pythonhosted.org/django-testcoverage/", "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "UNKNOWN", "maintainer": "", "maintainer_email": "", "name": "django-testcoverage", "package_url": "https://pypi.org/project/django-testcoverage/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-testcoverage/", "project_urls": { "Download": "UNKNOWN" }, "release_url": "https://pypi.org/project/django-testcoverage/0.1.3/", "requires_dist": null, "requires_python": null, "summary": "Code coverage reports for Django unit testing framework", "version": "0.1.3" }, "last_serial": 1219053, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "540e714c76aa855fa384ad3c866ef6c3", "sha256": "fbebb6af991e8cb530c54503a5bad395a71cb1bf11231d77f19fff55df343b1b" }, "downloads": -1, "filename": "django-testcoverage-0.1.1.tar.gz", "has_sig": false, "md5_digest": "540e714c76aa855fa384ad3c866ef6c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2839, "upload_time": "2011-03-14T10:18:56", "url": "https://files.pythonhosted.org/packages/6c/8c/769e4cee4101bd814f353f93ec37f08f82a8065120eb620ff7a60ef453c9/django-testcoverage-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "83c4c1d12d44f14ad0fb3bc4fc3e4799", "sha256": "f0813afd35b56ed989a006cef6961cf65d7303dcbac30fb84569d65fce699a86" }, "downloads": -1, "filename": "django-testcoverage-0.1.2.tar.gz", "has_sig": false, "md5_digest": "83c4c1d12d44f14ad0fb3bc4fc3e4799", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3072, "upload_time": "2011-03-23T11:06:54", "url": "https://files.pythonhosted.org/packages/0c/36/f4981ab31f1eab6d5c955a929203a440ece76d232d1ec3dbf1b691a934ed/django-testcoverage-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "d797514a4a744ad39f3f01e1bcac55ce", "sha256": "c7d0da0fb2ddb1b5d287eda9793ce9d2f58ea85070b67f3b334b696c6f424ab0" }, "downloads": -1, "filename": "django-testcoverage-0.1.3.tar.gz", "has_sig": false, "md5_digest": "d797514a4a744ad39f3f01e1bcac55ce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3203, "upload_time": "2011-03-24T11:16:19", "url": "https://files.pythonhosted.org/packages/0f/77/c469ce2e8bbd939b584dd148358cf8f59a8ad08ae804bdfe8f835071ecd9/django-testcoverage-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d797514a4a744ad39f3f01e1bcac55ce", "sha256": "c7d0da0fb2ddb1b5d287eda9793ce9d2f58ea85070b67f3b334b696c6f424ab0" }, "downloads": -1, "filename": "django-testcoverage-0.1.3.tar.gz", "has_sig": false, "md5_digest": "d797514a4a744ad39f3f01e1bcac55ce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3203, "upload_time": "2011-03-24T11:16:19", "url": "https://files.pythonhosted.org/packages/0f/77/c469ce2e8bbd939b584dd148358cf8f59a8ad08ae804bdfe8f835071ecd9/django-testcoverage-0.1.3.tar.gz" } ] }