{ "info": { "author": "Alister Cordiner, Andres Riancho, Anton Egorov, Arthur Kulik, Corey Goldberg, Dmitry Sandalov, Harald Nordgren, Ivan Kolodyazhny, Juan Pedro Fisanotti, Kevin Burke, Mahmoud Abdelkader, Raoul Snyman, Stanislav Kudriashev", "author_email": "", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Testing" ], "description": "nose-timer\n==========\n\nA timer plugin for nosetests that answers the question: *how much time does every test take?*\n\n.. image:: https://travis-ci.org/mahmoudimus/nose-timer.png?branch=master\n :target: https://travis-ci.org/mahmoudimus/nose-timer\n\n\nInstall\n-------\n\nTo install the latest release from PyPI::\n\n pip install nose-timer\n\nOr to install the latest development version from Git::\n\n pip install git+git://github.com/mahmoudimus/nose-timer.git\n\nOr to install the latest from source::\n\n git clone https://github.com/mahmoudimus/nose-timer.git\n cd nose-timer\n pip install .\n\nYou can also make a developer install if you plan on modifying the\nsource frequently::\n\n pip install -e .\n\n\nUsage\n-----\n\nRun nosetests with the ``--with-timer`` flag, and you will see a list of the\ntests and the time spent by each one (in seconds)::\n\n myapp.tests.ABigTestCase.test_the_world_is_running: 56.0010s\n myapp.tests.ABigTestCase.test_the_rest_of_the_galaxy_is_running: 2356.0010s\n\n\nHow do I show only the ``n`` slowest tests?\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nFor example, to show only the **10** slowest tests, run nosetests with the\n``--timer-top-n`` flag::\n\n nosetests --with-timer --timer-top-n 10\n\n\nHow do I color the output and have pretty colors?\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nYou can highlight slower tests using ``--timer-ok`` and ``--timer-warning`` flags.\nDefault time unit is the second, but you can specify it explicitly, e.g. 1s, 100ms.\n\n- Tests which take less time than ``--timer-ok`` will be highlighted in green.\n- Tests which take less time than ``--timer-warning`` will be highlighted in yellow.\n- All other tests will be highlighted in red.\n\n\nHow do I turn off pretty colors?\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nIn some cases, you may want to disable colors completely. This is done by using the\n``--timer-no-color`` flag. This is useful when running tests in a headless console.\n\n\nHow do I filter results by colors?\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nIt is possible to filter results by color. To do so, you can use the\n``--timer-filter`` flag::\n\n nosetests --with-timer --timer-filter ok\n nosetests --with-timer --timer-filter warning\n nosetests --with-timer --timer-filter error\n\n\nOr to apply several filters at once::\n\n nosetests --with-timer --timer-filter warning,error\n\nHow do I cause slow tests to fail?\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nYou can cause any tests that exceed a threshold to fail by specifying the\n``--timer-fail`` option:\n\n- If you specify ``--timer-fail warning``, slow tests which would be displayed\n as a warning (i.e. that take more time than ``--timer-ok``) will fail.\n- If you specify ``--timer-fail error``, slow tests which would be displayed as\n an error (i.e. that take more time than ``--timer-warning``) will fail.\n\nFor example, to fail any tests that take more than 5 seconds::\n\n nosetests --with-timer --timer-warning 5.0 --timer-fail error\n\n\nHow do I export the results ?\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nUse the ``--timer-json-file `` flag, it will save the result\nin the following format::\n\n {\n 'tests':\n {\n '':\n {\n 'status': 'success'|'error'|'fail,\n 'time': \n },\n '':\n {\n 'status': 'success'|'error'|'fail,\n 'time': \n },\n ....\n }\n\n\nLicense\n-------\n\n``nose-timer`` is MIT Licensed library.\n\n\nContribute\n----------\n\n- Check for open issues or open a fresh issue to start a discussion around a\n feature idea or a bug.\n- Fork the repository on GitHub to start making your changes to the master\n branch (or branch off of it).\n- Write a test which shows that the bug was fixed or that the feature\n works as expected.\n- Send a pull request and bug the maintainer until it gets merged and\n published.\n- Make sure to add yourself to the author's file in ``setup.py`` and the\n ``Contributors`` section below :)\n\n\nContributors\n------------\n\n- `@acordiner `_\n- `@andresriancho `_\n- `@cgoldberg `_\n- `@DmitrySandalov `_\n- `@e0ne `_\n- `@ereOn `_\n- `@fisadev `_\n- `@garbageek `_\n- `@HaraldNordgren `_\n- `@hugovk `_\n- `@jakirkham `_\n- `@kevinburke `_\n- `@mahmoudimus `_\n- `@satyrius `_\n- `@skudriashev `_\n- `@whodafly `_", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mahmoudimus/nose-timer", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "nose-timer", "package_url": "https://pypi.org/project/nose-timer/", "platform": "", "project_url": "https://pypi.org/project/nose-timer/", "project_urls": { "Homepage": "https://github.com/mahmoudimus/nose-timer" }, "release_url": "https://pypi.org/project/nose-timer/0.7.5/", "requires_dist": null, "requires_python": "", "summary": "A timer plugin for nosetests", "version": "0.7.5" }, "last_serial": 4937777, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "cf984b19899342df851e1b84dbe613da", "sha256": "9ea56d6de54968f29ca78e5ed40bb3b9246a55d30ef2c7b3270cf35fd1d10538" }, "downloads": -1, "filename": "nose-timer-0.1.tar.gz", "has_sig": false, "md5_digest": "cf984b19899342df851e1b84dbe613da", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3303, "upload_time": "2012-09-18T22:56:23", "url": "https://files.pythonhosted.org/packages/ba/94/0d788253be6af6f34ac814f7c98eafbe3c3c5a52f234601b1ad018d75781/nose-timer-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "c7b4996fa22daff0c63a2f44d35efb0e", "sha256": "cdb9366dd0f4004bb1f0d457e1480ce8ac0f133800cc49d4da37f24ba65c07ac" }, "downloads": -1, "filename": "nose-timer-0.1.1.tar.gz", "has_sig": false, "md5_digest": "c7b4996fa22daff0c63a2f44d35efb0e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3309, "upload_time": "2012-09-18T22:57:45", "url": "https://files.pythonhosted.org/packages/f4/e6/9317464c9ead48b9197074489caf47604c150b2a40632241b7c49b0bd2c0/nose-timer-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "d12e0ae8cfa5d6279bb205616502fe4d", "sha256": "a7c9e6fa3c23ab00ca542e49f85b4bf860c26229d0c49d93bf219d91876333f6" }, "downloads": -1, "filename": "nose-timer-0.1.2.tar.gz", "has_sig": false, "md5_digest": "d12e0ae8cfa5d6279bb205616502fe4d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2805, "upload_time": "2012-09-18T23:09:03", "url": "https://files.pythonhosted.org/packages/9d/59/8a16368a75bab585be1210bf37f4aec7c1ac0c27cae7a14a03bff069560f/nose-timer-0.1.2.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "dfafe4973743ef222894804a15fc1771", "sha256": "48206a4250ab37f82b29ae23f84ff720c537b2ce2b468e9cbc8e0d887fc4bd03" }, "downloads": -1, "filename": "nose-timer-0.2.0.tar.gz", "has_sig": false, "md5_digest": "dfafe4973743ef222894804a15fc1771", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3467, "upload_time": "2013-09-24T16:32:22", "url": "https://files.pythonhosted.org/packages/a1/05/5bd3be05a5544d9b9d10e9c164556292dacb35166239a30d5cbc437cb2eb/nose-timer-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "d9de3c21ada2fee3780e1047f1f0761f", "sha256": "8a8877c1826d67297315feda907c264347d18f9f07bea586aba8fddf20f410eb" }, "downloads": -1, "filename": "nose-timer-0.3.0.tar.gz", "has_sig": false, "md5_digest": "d9de3c21ada2fee3780e1047f1f0761f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4501, "upload_time": "2014-03-03T20:03:28", "url": "https://files.pythonhosted.org/packages/f7/32/9705310ad01cfa3c9f29683e043e1d4b39ba3f7b40e3d595b9a81d3f2390/nose-timer-0.3.0.tar.gz" } ], "0.4.3": [ { "comment_text": "", "digests": { "md5": "e1a8e80b67734501fcca6f5927fc23b1", "sha256": "c44b60af4554bcfc3b064370cbc2637f0692a75306ccd4dc764ae29c93d92017" }, "downloads": -1, "filename": "nose-timer-0.4.3.tar.gz", "has_sig": false, "md5_digest": "e1a8e80b67734501fcca6f5927fc23b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5724, "upload_time": "2014-12-02T19:48:21", "url": "https://files.pythonhosted.org/packages/c6/53/e59d66a70196841f9a729ceed7dca851a3b43a3f4fc245c3634d991c1c88/nose-timer-0.4.3.tar.gz" } ], "0.4.4": [ { "comment_text": "", "digests": { "md5": "eb00c3c26c29bf85a95b48c59cba113a", "sha256": "21199f5aa4c6614500ac3dea22da3213441ece85b486b7a937f3e570b379de23" }, "downloads": -1, "filename": "nose-timer-0.4.4.tar.gz", "has_sig": false, "md5_digest": "eb00c3c26c29bf85a95b48c59cba113a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5838, "upload_time": "2015-05-08T13:04:16", "url": "https://files.pythonhosted.org/packages/06/13/f79167ab3bbf43443f695a1ebb7bbf5437e3844a0be35487cd1e1d96af24/nose-timer-0.4.4.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "7f9bc6e0eae50d588a9d08d809cddd3f", "sha256": "4e5d7bee02385c552b36e9846bbbcddc0c2165dd8cbd6d40ab241272f4069ed0" }, "downloads": -1, "filename": "nose-timer-0.5.0.tar.gz", "has_sig": false, "md5_digest": "7f9bc6e0eae50d588a9d08d809cddd3f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7228, "upload_time": "2015-07-20T15:10:20", "url": "https://files.pythonhosted.org/packages/82/6c/7ba3c36f3f99337fcb631cb9f516c040c26608cb8344dccccc9577058fdf/nose-timer-0.5.0.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "739fb9901de979e9f52ecdca272c105d", "sha256": "1253a20295d9c75a9f87b8c898d9b6003ae99d5d0fe95c3dd978954329b0919f" }, "downloads": -1, "filename": "nose-timer-0.6.0.tar.gz", "has_sig": false, "md5_digest": "739fb9901de979e9f52ecdca272c105d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7118, "upload_time": "2016-02-11T07:09:34", "url": "https://files.pythonhosted.org/packages/a7/92/c0902e2312a2bf953217165215ef1c5e90df6bd297a3e3244b1fa3034b70/nose-timer-0.6.0.tar.gz" } ], "0.7.0": [ { "comment_text": "", "digests": { "md5": "8579c1c1fe3055702a1fc6ae15da1583", "sha256": "b76baab514aff39ac567455aaecd63b881127f922e9632b1f814f96575f562e8" }, "downloads": -1, "filename": "nose-timer-0.7.0.tar.gz", "has_sig": false, "md5_digest": "8579c1c1fe3055702a1fc6ae15da1583", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7206, "upload_time": "2017-03-31T09:18:05", "url": "https://files.pythonhosted.org/packages/45/6b/a9614f54010eb73c318866f44606de26dde0eb55cbf6fce20cfe89a9ae5a/nose-timer-0.7.0.tar.gz" } ], "0.7.1": [ { "comment_text": "", "digests": { "md5": "66031b7ac2ad5d85455ce551e31094c2", "sha256": "843ec3bd46cb7864aa79eaa3084d897055252d856c19010ddb9ddbcd6bbbf064" }, "downloads": -1, "filename": "nose-timer-0.7.1.tar.gz", "has_sig": false, "md5_digest": "66031b7ac2ad5d85455ce551e31094c2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7093, "upload_time": "2017-11-15T15:15:16", "url": "https://files.pythonhosted.org/packages/a9/0f/546119f6e1da9e8f416399515884cff9fdbbb3f8c5a64abc8d295e5a13c4/nose-timer-0.7.1.tar.gz" } ], "0.7.2": [ { "comment_text": "", "digests": { "md5": "47db9490142acb703324a757838567e0", "sha256": "47fe90e39ead20669d564c5cb6e7e0be934cce647f035d3e0900897287108f7b" }, "downloads": -1, "filename": "nose-timer-0.7.2.tar.gz", "has_sig": false, "md5_digest": "47db9490142acb703324a757838567e0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7330, "upload_time": "2018-04-21T20:36:24", "url": "https://files.pythonhosted.org/packages/4a/69/50b710bc7f648bed4630d33b0815ec48cb232799c39c19d2a6cabbc76b1b/nose-timer-0.7.2.tar.gz" } ], "0.7.3": [ { "comment_text": "", "digests": { "md5": "b8e2c7784e80241a8b9b6b625555475b", "sha256": "84743e05fc940868f5b6e379ed2a3f7da3fa49cdd72c3f531c893868b12adf41" }, "downloads": -1, "filename": "nose-timer-0.7.3.tar.gz", "has_sig": false, "md5_digest": "b8e2c7784e80241a8b9b6b625555475b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7756, "upload_time": "2018-07-10T04:25:34", "url": "https://files.pythonhosted.org/packages/78/52/47f773612fd9c0ef965474616f40790b4329c28872342af41cbeb8e8c19a/nose-timer-0.7.3.tar.gz" } ], "0.7.4": [ { "comment_text": "", "digests": { "md5": "3a581e19c8a63afba8890effb154b93d", "sha256": "22e080dd4021429086123d40be3e1b4b4c5ec8ec2e421be392f3e940cf643612" }, "downloads": -1, "filename": "nose-timer-0.7.4.tar.gz", "has_sig": false, "md5_digest": "3a581e19c8a63afba8890effb154b93d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7675, "upload_time": "2018-11-29T17:07:42", "url": "https://files.pythonhosted.org/packages/1d/36/745ce54e9dc29f450f3b6d06ee5f906b9648cb839bdbfff83a70da761e74/nose-timer-0.7.4.tar.gz" } ], "0.7.5": [ { "comment_text": "", "digests": { "md5": "c4ed6cca4fbaf79b24ec674b95bd42ba", "sha256": "647eeac86359188ecf02c75b0ab49d20ad10c41814ee89af30fcaf8d109b9f17" }, "downloads": -1, "filename": "nose-timer-0.7.5.tar.gz", "has_sig": false, "md5_digest": "c4ed6cca4fbaf79b24ec674b95bd42ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7742, "upload_time": "2019-03-14T04:56:36", "url": "https://files.pythonhosted.org/packages/81/61/6476ed1c7a7bbb114246bb4632ec3a72008bc2d25cfbf3f4b1962143371f/nose-timer-0.7.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c4ed6cca4fbaf79b24ec674b95bd42ba", "sha256": "647eeac86359188ecf02c75b0ab49d20ad10c41814ee89af30fcaf8d109b9f17" }, "downloads": -1, "filename": "nose-timer-0.7.5.tar.gz", "has_sig": false, "md5_digest": "c4ed6cca4fbaf79b24ec674b95bd42ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7742, "upload_time": "2019-03-14T04:56:36", "url": "https://files.pythonhosted.org/packages/81/61/6476ed1c7a7bbb114246bb4632ec3a72008bc2d25cfbf3f4b1962143371f/nose-timer-0.7.5.tar.gz" } ] }