{ "info": { "author": "Matt Shaw", "author_email": "m@ttshaw.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python :: 2" ], "description": "# django-test-timer\n\nPrint the amount of time that each unit test took. \n\nTested with Django 1.11, Python 2.7\n\n## Install\n\n`pip install django-test-timer`\n\nThen in your Django settings\n\n```python\nTEST_RUNNER = 'django_test_timer.TimedTestRunner'\n```\n\nThen run your tests as usual.\n\n## Settings\n\nBy default, all tests will be printed. To only print tests that take a certain amount of time, set the threshold in your settings.py\n\n```python\nTIMED_TEST_THRESHOLD_SECS = 2.0\n```\n\n## Example Output\n\n```\n>>> ./manage.py test\n....\n----------------------------------------------------------------------\nRan 5 tests\n\nTests Times (>0.0s):\n [2.09s] test_foo (main.tests.test_general.DemoTestCase)\n [1.004s] test_bar (main.tests.test_general.DemoTestCase)\n [0.0s] test_this (main.tests.test_general.DemoTestCase)\n [0.0s] test_that (main.tests.test_general.DemoTestCase)\n [0.0s] test_not_implemented_errors (main.tests.test_general.DemoTestCase)\n \n Destroying test database for alias 'default'...\n ```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/unformatt/django-test-timer", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "django-test-timer", "package_url": "https://pypi.org/project/django-test-timer/", "platform": "", "project_url": "https://pypi.org/project/django-test-timer/", "project_urls": { "Homepage": "https://github.com/unformatt/django-test-timer" }, "release_url": "https://pypi.org/project/django-test-timer/0.0.2/", "requires_dist": null, "requires_python": "", "summary": "Print the amount of time that each unit test took", "version": "0.0.2" }, "last_serial": 5205847, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "d5896e66ba1dd91d17134687f8ea3d0c", "sha256": "da2041191e6149d698a96db6d41dcfff52912499e05166fcf224796118b313fb" }, "downloads": -1, "filename": "django_test_timer-0.0.1.tar.gz", "has_sig": false, "md5_digest": "d5896e66ba1dd91d17134687f8ea3d0c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14523, "upload_time": "2019-04-30T00:23:02", "url": "https://files.pythonhosted.org/packages/26/ce/3d0261a7edef5865dcfa106c4e54438e80cc7ca987d4d7345967a72f3da0/django_test_timer-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "94f431eaf16ad2f2c8b9f340d92b07c6", "sha256": "89b95335a88f4a1d2d7f24c94c138830815736f4ea80e42edb12e53fbd3170ae" }, "downloads": -1, "filename": "django_test_timer-0.0.2.tar.gz", "has_sig": false, "md5_digest": "94f431eaf16ad2f2c8b9f340d92b07c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15348, "upload_time": "2019-04-30T00:31:23", "url": "https://files.pythonhosted.org/packages/1e/43/395e9a354d40f126b995bfb71f8608ecb0b87ff249d8316cd9f623d2800d/django_test_timer-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "94f431eaf16ad2f2c8b9f340d92b07c6", "sha256": "89b95335a88f4a1d2d7f24c94c138830815736f4ea80e42edb12e53fbd3170ae" }, "downloads": -1, "filename": "django_test_timer-0.0.2.tar.gz", "has_sig": false, "md5_digest": "94f431eaf16ad2f2c8b9f340d92b07c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15348, "upload_time": "2019-04-30T00:31:23", "url": "https://files.pythonhosted.org/packages/1e/43/395e9a354d40f126b995bfb71f8608ecb0b87ff249d8316cd9f623d2800d/django_test_timer-0.0.2.tar.gz" } ] }