{ "info": { "author": "Andre Luiz Micheletti", "author_email": "andreluizmtmicheletti@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Pytest", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Testing" ], "description": "=============\npytest-sorter\n=============\n\n.. image:: http://img.shields.io/pypi/v/pytest-sorter.svg\n :target: https://pypi.python.org/pypi/pytest-sorter\n\n.. image:: https://travis-ci.org/AndreMicheletti/pytest-sorter.svg?branch=master\n :target: https://travis-ci.org/AndreMicheletti/pytest-sorter\n :alt: See Build Status on Travis CI\n\n\nA simple plugin to first execute tests that historically failed more\n\nThis `pytest`_ plugin was generated with `cookiecutter`_ along with `@hackebrot`_'s `cookiecutter-pytest-plugin`_ template.\n\n\nDescription\n--------\n\nThis plugin will save a history of your tests executions in a file `.test_history`. For each test it will\nhave how many times it was executed, and how many times it failed.\n\nUsing that information it will calculate the percentage of failure of tests, and order them\nto first execute the higher *failure ratio*\n\nRequirements\n------------\n\n* Python>=3\n\nInstallation\n------------\n\nYou can install \"pytest-sorter\" via `pip`_ from `PyPI`_::\n\n $ pip install pytest-sorter\n\n\nUsage\n-----\n\nAfter installed, your tests will automatically create and update the `.test_history` file,\nand order tests by their failure ratio.\n\nYou can tell pytest to ignore this plugin by passing:\n```\npytest --no-sorted\n```\n\nContributing\n------------\nContributions are very welcome. Tests can be run with `tox`_, please ensure\nthe coverage at least stays the same before you submit a pull request.\n\nLicense\n-------\n\nDistributed under the terms of the `MIT`_ license, \"pytest-sorter\" is free and open source software\n\n\nIssues\n------\n\nIf you encounter any problems, please `file an issue`_ along with a detailed description.\n\n.. _`Cookiecutter`: https://github.com/audreyr/cookiecutter\n.. _`@hackebrot`: https://github.com/hackebrot\n.. _`MIT`: http://opensource.org/licenses/MIT\n.. _`BSD-3`: http://opensource.org/licenses/BSD-3-Clause\n.. _`GNU GPL v3.0`: http://www.gnu.org/licenses/gpl-3.0.txt\n.. _`Apache Software License 2.0`: http://www.apache.org/licenses/LICENSE-2.0\n.. _`cookiecutter-pytest-plugin`: https://github.com/pytest-dev/cookiecutter-pytest-plugin\n.. _`file an issue`: https://github.com/AndreMicheletti/pytest-sorter/issues\n.. _`pytest`: https://github.com/pytest-dev/pytest\n.. _`tox`: https://tox.readthedocs.io/en/latest/\n.. _`pip`: https://pypi.python.org/pypi/pip/\n.. _`PyPI`: https://pypi.python.org/pypi\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/AndreMicheletti/pytest-sorter", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pytest-sorter", "package_url": "https://pypi.org/project/pytest-sorter/", "platform": "", "project_url": "https://pypi.org/project/pytest-sorter/", "project_urls": { "Homepage": "https://github.com/AndreMicheletti/pytest-sorter" }, "release_url": "https://pypi.org/project/pytest-sorter/0.1.8/", "requires_dist": [ "pytest (>=3.1.1)" ], "requires_python": ">=3.3", "summary": "A simple plugin to first execute tests that historically failed more", "version": "0.1.8" }, "last_serial": 3943265, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "693e323e6e85e9f1691dfc8e3c0c786a", "sha256": "c6d2f1a0a787d099c60a20ebcd4ffe272438d0505d77ab7437134438872ae278" }, "downloads": -1, "filename": "pytest_sorter-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "693e323e6e85e9f1691dfc8e3c0c786a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 5621, "upload_time": "2017-10-06T01:22:10", "url": "https://files.pythonhosted.org/packages/d3/71/ca379899a99d21e3f75761f8d258f171080065b46db291082d705e9cd2eb/pytest_sorter-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "45984bd532a981df9359cf47a15d0411", "sha256": "3cecc97284a7bdfdc85e5dfaf03acafa6317737c64bc1ea4cdc9d4572757003c" }, "downloads": -1, "filename": "pytest-sorter-0.1.0.tar.gz", "has_sig": false, "md5_digest": "45984bd532a981df9359cf47a15d0411", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 4341, "upload_time": "2017-10-06T01:22:12", "url": "https://files.pythonhosted.org/packages/11/42/be9872496e7c3da8084f4bdce067c9f796aec4b7a9b5d906c970b8ca0369/pytest-sorter-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "d92cb3ca504ee7fc24b1ee23c7a61e68", "sha256": "d83693aa35c1f820f894dc3a6fd3b4fa8ee944345401ce931c2730a71a352c99" }, "downloads": -1, "filename": "pytest_sorter-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "d92cb3ca504ee7fc24b1ee23c7a61e68", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 5980, "upload_time": "2017-10-06T17:53:06", "url": "https://files.pythonhosted.org/packages/44/4d/5ebf7acfd0066d495dc4ae3520a1934acd1636835eac5f383f09f8d10e35/pytest_sorter-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2799cf67d5e539beb57591a909e044d8", "sha256": "a1a2bc8ea07a2fa1bfdb51a686fc897865c353f06bead8504b8b64049699f873" }, "downloads": -1, "filename": "pytest-sorter-0.1.1.tar.gz", "has_sig": false, "md5_digest": "2799cf67d5e539beb57591a909e044d8", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 4556, "upload_time": "2017-10-06T17:53:07", "url": "https://files.pythonhosted.org/packages/4e/10/a5024a52a9ede2290eb9b0d580bb3ed659456f189709f9693c57ff158551/pytest-sorter-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "400b2238df69b28675529aa70ec2ab64", "sha256": "3ad9c995fecdd14f6171ed1e89421a3e5d7c9b64ddf00ef1b3e90e818d8f6aa7" }, "downloads": -1, "filename": "pytest_sorter-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "400b2238df69b28675529aa70ec2ab64", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 6032, "upload_time": "2017-10-06T20:45:19", "url": "https://files.pythonhosted.org/packages/63/7f/bb6e70a6fb06d6557d9ad8ec5967fc5cc685a8616532851bc36012f0da10/pytest_sorter-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "db66b7815d1aa34357af5f13ab7b6414", "sha256": "2e7c986515c77c5953f129662f03ddc17b8334928a1ee54ebff8a33bdb20604d" }, "downloads": -1, "filename": "pytest-sorter-0.1.2.tar.gz", "has_sig": false, "md5_digest": "db66b7815d1aa34357af5f13ab7b6414", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 4611, "upload_time": "2017-10-06T20:45:21", "url": "https://files.pythonhosted.org/packages/a7/49/f602f87b00de741c83c5772e1ec67bde8d7bf750a1b0a86f450228653415/pytest-sorter-0.1.2.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "eb1eea1a0b3c956f72575acb4d35aead", "sha256": "159eeab2949c8f430dd970c94ec427efe0c59713ae2d754f53eeec6bf906d5c8" }, "downloads": -1, "filename": "pytest_sorter-0.1.5-py3-none-any.whl", "has_sig": false, "md5_digest": "eb1eea1a0b3c956f72575acb4d35aead", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 6328, "upload_time": "2018-06-05T16:46:06", "url": "https://files.pythonhosted.org/packages/fb/bd/00b49f88d7644689deba08674455c632d8c19739259bbfc1546d089cd70e/pytest_sorter-0.1.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fad39889a02d947d0d7e1a1c9b5fe34f", "sha256": "0eb7b935051077fb6170eeb9a18a7dd5d73d7ff7ebdf390e70f31c0fd931bffd" }, "downloads": -1, "filename": "pytest-sorter-0.1.5.tar.gz", "has_sig": false, "md5_digest": "fad39889a02d947d0d7e1a1c9b5fe34f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 4962, "upload_time": "2018-06-05T16:46:07", "url": "https://files.pythonhosted.org/packages/8b/e9/56992f6749633f6e98a693e589b1362b72a3772b4d0119e13d460c15a7d9/pytest-sorter-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "7e339e2711ca4832f5c7b56cfda022f4", "sha256": "2714112a7f6a6c87b09c9c7ebe452a039f376f75951b2c3041542042461fbaa3" }, "downloads": -1, "filename": "pytest_sorter-0.1.6-py3-none-any.whl", "has_sig": false, "md5_digest": "7e339e2711ca4832f5c7b56cfda022f4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 6329, "upload_time": "2018-06-05T16:48:32", "url": "https://files.pythonhosted.org/packages/97/b8/246fb7f3b55e75e925d890c30b4180e8eea2ca8932199345e674c1ccba25/pytest_sorter-0.1.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4c0e29e8771a806af2701277a14a94f4", "sha256": "58dfca40b8be5ff6f3eac3adde4fe2bbc612eddb341ba385de2ab8acacbe17a7" }, "downloads": -1, "filename": "pytest-sorter-0.1.6.tar.gz", "has_sig": false, "md5_digest": "4c0e29e8771a806af2701277a14a94f4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 4964, "upload_time": "2018-06-05T16:48:35", "url": "https://files.pythonhosted.org/packages/36/e9/ed717b6dafe3c5591679e40dc747860203bf2aee1a40ac8ac3bb7f662a3c/pytest-sorter-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "949155019f7ca7f208c7b45deb5325da", "sha256": "7ef5c72b70cd2e428c43fe3a628676ac570416499e48aebc4a3732463683eacc" }, "downloads": -1, "filename": "pytest_sorter-0.1.7-py3-none-any.whl", "has_sig": false, "md5_digest": "949155019f7ca7f208c7b45deb5325da", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 6402, "upload_time": "2018-06-08T15:17:11", "url": "https://files.pythonhosted.org/packages/4e/b0/60dad6f0769f07ad6dba0914530fd57c0a5f78a134080555ffe2d0be4af6/pytest_sorter-0.1.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0017d4d395e05871e3f6a896157faa42", "sha256": "01878496bc5f9c2874cccea550c37b20c863cb149744cd3dc5945aae145437de" }, "downloads": -1, "filename": "pytest-sorter-0.1.7.tar.gz", "has_sig": false, "md5_digest": "0017d4d395e05871e3f6a896157faa42", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 5032, "upload_time": "2018-06-08T15:17:12", "url": "https://files.pythonhosted.org/packages/c8/f0/4b83e4b25edb709fabdef43952151d14345abf75b67cd134c677911cf58d/pytest-sorter-0.1.7.tar.gz" } ], "0.1.8": [ { "comment_text": "", "digests": { "md5": "1df84b438d18b4435f440f955239c78f", "sha256": "f0a14c4923000346b647c872b3221c11670021b699f6a26217b4d4a912bd321e" }, "downloads": -1, "filename": "pytest_sorter-0.1.8-py3-none-any.whl", "has_sig": false, "md5_digest": "1df84b438d18b4435f440f955239c78f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.3", "size": 6408, "upload_time": "2018-06-08T15:33:00", "url": "https://files.pythonhosted.org/packages/1d/ac/22740cd6c15b076d50efaf4b48939d3ca463838b30e9f7ffb8cb87251270/pytest_sorter-0.1.8-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "81ffe1b3546b7b01aadf366a7f0e87c2", "sha256": "1c31cf420dbc96be09d73580b66ab75d5da2e283f51639a99a748bb5327377fc" }, "downloads": -1, "filename": "pytest-sorter-0.1.8.tar.gz", "has_sig": false, "md5_digest": "81ffe1b3546b7b01aadf366a7f0e87c2", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.3", "size": 5036, "upload_time": "2018-06-08T15:33:02", "url": "https://files.pythonhosted.org/packages/1d/5a/438b8c6454a2bb82b144ed78e2d15fa994818b50dfbad6a5295c7d433b49/pytest-sorter-0.1.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1df84b438d18b4435f440f955239c78f", "sha256": "f0a14c4923000346b647c872b3221c11670021b699f6a26217b4d4a912bd321e" }, "downloads": -1, "filename": "pytest_sorter-0.1.8-py3-none-any.whl", "has_sig": false, "md5_digest": "1df84b438d18b4435f440f955239c78f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.3", "size": 6408, "upload_time": "2018-06-08T15:33:00", "url": "https://files.pythonhosted.org/packages/1d/ac/22740cd6c15b076d50efaf4b48939d3ca463838b30e9f7ffb8cb87251270/pytest_sorter-0.1.8-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "81ffe1b3546b7b01aadf366a7f0e87c2", "sha256": "1c31cf420dbc96be09d73580b66ab75d5da2e283f51639a99a748bb5327377fc" }, "downloads": -1, "filename": "pytest-sorter-0.1.8.tar.gz", "has_sig": false, "md5_digest": "81ffe1b3546b7b01aadf366a7f0e87c2", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.3", "size": 5036, "upload_time": "2018-06-08T15:33:02", "url": "https://files.pythonhosted.org/packages/1d/5a/438b8c6454a2bb82b144ed78e2d15fa994818b50dfbad6a5295c7d433b49/pytest-sorter-0.1.8.tar.gz" } ] }