{ "info": { "author": "Magnus Hallin", "author_email": "mhallin@fastmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "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": "======================================\n Pytest Coverage-based Test Exclusion\n======================================\n\n.. image:: https://api.travis-ci.org/mhallin/cov-exclude-py.svg?branch=master\n :target: https://travis-ci.org/mhallin/cov-exclude-py\n\n.. image:: https://img.shields.io/pypi/v/pytest-cov-exclude.svg\n :target: https://pypi.python.org/pypi/pytest-cov-exclude\n\nCoverage-based test exclusion plugin for pytest_. By looking at which\nlines are executed by each test, the next test run can be sped up by\n*not* executing the tests where no source files have changed.\n\nIf you have a large test suite which you often re-run, this plugin can\ndrastically improve the iteration times.\n\n\nInstallation\n============\n\nInstall with pip:\n\n.. code-block:: text\n\n $ pip install pytest-cov-exclude\n\n``pytest-cov-exclude`` requires Pytest 2.8 or later. It is compatible with\nPython 2.7, 3.3, 3.4, 3.5, as well as PyPy. It does *not* work on PyPy\n3 due to an unknown bug with the coverage data generated.\n\n\nUsage\n=====\n\nThe first time you run your test suite, per-test coverage is enabled\nand the suite will take a *little bit* longer than usual:\n\n.. code-block:: text\n\n $ py.test\n\n ==================== test session starts =====================\n\n # Test output...\n\n ================ MANY passed in MANY seconds =================\n\nNow when you re-run the test suite, all tests should have been\nexcluded:\n\n.. code-block:: text\n\n $ py.test\n\n ==================== test session starts =====================\n\n # Test output...\n\n =============== MANY deselected in FEW seconds ===============\n\nIf a test fails, it will re-run even if nothing changed in order to\npreserve the general failure status of the test suite.\n\n\nForcing individual test inclusion\n---------------------------------\n\nIf you have tests that depend on files not included in coverage data,\nsuch as data files or generated sources, you can mark the tests with\n``external_dependencies``. This forces them to be re-run even if no\nfiles were changed:\n\n.. code-block:: python\n\n @pytest.mark.external_dependencies\n def test_something():\n # Run tests from external data files\n\n\nKnown bugs\n----------\n\n* Changes to files during pytest's collection phase will be\n ignored. Test files and their dependencies are scanned as soon as\n possible *after* the test collection is complete.\n\n There is a test case marked ``xfail`` that highlights this issue.\n\n\nRunning the whole test suite\n----------------------------\n\nIf you want to force a complete re-run of the whole test suite, you\nhave two options: either disable the plugin, or clear pytest's cache:\n\n.. code-block:: text\n\n $ py.test -p no:cov-exclude # Disable the plugin\n\n $ py.test --cache-clear # Clear pytest's cache\n\n\nCompatibility\n=============\n\nAs stated earlier, this plugin requires Pytest 2.8 or later since it\ndepends on the new cache module.\n\nWhile PyPy is supported, the ujson_ library used for faster\nserialization/deserialization is not available, so a fallback to the\ndefault JSON implementation is used instead. Because of this, the\ntests might actually run *slower* with this plugin under PyPy.\n\n.. _pytest: http://pytest.org\n.. _ujson: https://pypi.python.org/pypi/ujson", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mhallin/cov-exclude-py", "keywords": "cover,coverage,pytest,py.test,performance,speed", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pytest-cov-exclude", "package_url": "https://pypi.org/project/pytest-cov-exclude/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pytest-cov-exclude/", "project_urls": { "Homepage": "https://github.com/mhallin/cov-exclude-py" }, "release_url": "https://pypi.org/project/pytest-cov-exclude/0.0.9/", "requires_dist": [ "coverage (>=4.0.0,<5.0.0)", "ujson (>=1.0,<2.0)", "pytest (>=2.8.0,<2.9.0); extra == 'dev'", "twine; extra == 'dist'", "wheel; extra == 'dist'" ], "requires_python": "", "summary": "Pytest plugin for excluding tests based on coverage data", "version": "0.0.9" }, "last_serial": 2090515, "releases": { "0.0.4": [ { "comment_text": "", "digests": { "md5": "73fec5234f76d67e265bac066b87078e", "sha256": "073367e512eddf431801b288c9e09c6f7654d1d7e17c177355d6da3322b97b38" }, "downloads": -1, "filename": "pytest-cov-exclude-0.0.4.macosx-10.11-x86_64.tar.gz", "has_sig": false, "md5_digest": "73fec5234f76d67e265bac066b87078e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11720, "upload_time": "2015-12-17T18:14:53", "url": "https://files.pythonhosted.org/packages/80/6c/e75ad163dc3c3390dfb420bb5228c09f3793b4d29b2f5be4616c58dff075/pytest-cov-exclude-0.0.4.macosx-10.11-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "2a2f58a3a8c8ebb586416f730d9fadd4", "sha256": "f056592997a1a7bb35bb144f9a1402127236defaaee51167f5a92b8ee900af1c" }, "downloads": -1, "filename": "pytest_cov_exclude-0.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2a2f58a3a8c8ebb586416f730d9fadd4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10687, "upload_time": "2015-12-17T18:14:48", "url": "https://files.pythonhosted.org/packages/18/25/7069476c1991582b6b356b67a4e721f1ecf2b96a4110000dac88557cc622/pytest_cov_exclude-0.0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b93c23e7832a28dd2cb6b82277b80f50", "sha256": "938d045e0ad488a355e31c0ee4184d5c8fc13cadd16b3570ffde34b89e032399" }, "downloads": -1, "filename": "pytest_cov_exclude-0.0.4-py3.5.egg", "has_sig": false, "md5_digest": "b93c23e7832a28dd2cb6b82277b80f50", "packagetype": "bdist_egg", "python_version": "3.5", "requires_python": null, "size": 16896, "upload_time": "2015-12-17T18:15:07", "url": "https://files.pythonhosted.org/packages/2f/09/506a39fcd25a6f3582bdff39ee9afe2a540de63ea43a48281d662f57366b/pytest_cov_exclude-0.0.4-py3.5.egg" }, { "comment_text": "", "digests": { "md5": "911e667df2dfb0286b1a9d0f20176656", "sha256": "2c3309675286cffb6f8d7d527363ab0ea3dc458ee1ed8d72eb23d58a531e7d3c" }, "downloads": -1, "filename": "pytest-cov-exclude-0.0.4.tar.gz", "has_sig": false, "md5_digest": "911e667df2dfb0286b1a9d0f20176656", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6707, "upload_time": "2015-12-17T18:14:59", "url": "https://files.pythonhosted.org/packages/50/be/7482d10e89c0ce3e8fb4ec4e6b08a41d7dd20d247798c9e315d3260f9fdc/pytest-cov-exclude-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "1ee18c1d67199582061c019a924877d2", "sha256": "34e5051a632794da79f6860739743f610fe66cb47da85f8b9af3d053096b6ee2" }, "downloads": -1, "filename": "pytest_cov_exclude-0.0.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1ee18c1d67199582061c019a924877d2", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10691, "upload_time": "2015-12-17T18:22:05", "url": "https://files.pythonhosted.org/packages/db/3f/4abcd2ba935b13e70f7b9d2a22b05781da82cef5d33a63cbdd00dd97ed86/pytest_cov_exclude-0.0.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "471d9af68110a1393623400ef8a69de0", "sha256": "75d9139fd0a64257e55419693619025946cab3a6dbbed7b34d5ab87b2e8a5bc2" }, "downloads": -1, "filename": "pytest-cov-exclude-0.0.5.tar.gz", "has_sig": false, "md5_digest": "471d9af68110a1393623400ef8a69de0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6711, "upload_time": "2015-12-17T18:22:16", "url": "https://files.pythonhosted.org/packages/84/15/4614897e21f16eaeae586a630eea12ed67bdb0514bfccfa9c881e7c18fda/pytest-cov-exclude-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "b49fff3f36a19edb3f5886d6fe776c85", "sha256": "dfcdb6285db1dcec6e8a8f096c332ebe71b579165a622b9a9e95f2ea4f68fa6e" }, "downloads": -1, "filename": "pytest_cov_exclude-0.0.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b49fff3f36a19edb3f5886d6fe776c85", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11067, "upload_time": "2015-12-17T19:53:18", "url": "https://files.pythonhosted.org/packages/ba/9c/ccaa36402cc9e424d2f3f268277cbcbd1e674845d827ef89d9c3ecb59e76/pytest_cov_exclude-0.0.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ee2c2b3cadf5b46491d25773d49f0f7c", "sha256": "8efd81dfbb1422594e8329877848934befbf380fb7dbfae8010ec51c8365c4c2" }, "downloads": -1, "filename": "pytest-cov-exclude-0.0.6.tar.gz", "has_sig": false, "md5_digest": "ee2c2b3cadf5b46491d25773d49f0f7c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6933, "upload_time": "2015-12-17T19:53:24", "url": "https://files.pythonhosted.org/packages/24/e7/a60a0aa43b9707910f3bac45885703eeae1d8ca388e64ed37eae0604fc71/pytest-cov-exclude-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "5073f881198b9adb176b20a35c929afa", "sha256": "2f1cbe727e7eab47b2672f833e8fb874feadbab9e0dbda36c8bcce800599ebd8" }, "downloads": -1, "filename": "pytest_cov_exclude-0.0.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5073f881198b9adb176b20a35c929afa", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11146, "upload_time": "2016-04-06T11:17:16", "url": "https://files.pythonhosted.org/packages/e4/36/d0ce1d308843d0a288ba847ee8b6314eaf04d7761ccd301537c004fe1683/pytest_cov_exclude-0.0.7-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e2574da5d14344ead91547c12d03b3aa", "sha256": "c6461eeedeb92f95414f31f2dbf669eb911e121df91a6780d2c46bc763343b36" }, "downloads": -1, "filename": "pytest-cov-exclude-0.0.7.tar.gz", "has_sig": false, "md5_digest": "e2574da5d14344ead91547c12d03b3aa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6952, "upload_time": "2016-04-06T11:17:41", "url": "https://files.pythonhosted.org/packages/19/d8/77eea63ec41b7bfc7d91fd0727c2069973eaa593142a156950e10f343455/pytest-cov-exclude-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "898ab78be3e2b16b80b49a2e88c2312f", "sha256": "3edb5a9941d58b38a9dbb5408a52411c6a424ded1cf819ace282893ca0ce7163" }, "downloads": -1, "filename": "pytest_cov_exclude-0.0.8-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "898ab78be3e2b16b80b49a2e88c2312f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11197, "upload_time": "2016-04-28T13:51:24", "url": "https://files.pythonhosted.org/packages/8d/0c/361873b29ea148c508d704c4a0bc65556751d07faa3cdedf03f50b8a6378/pytest_cov_exclude-0.0.8-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "eb2ec5e2c9cd501159aa9a1e3b5e6a84", "sha256": "8fb1bb9dabedee650c1018eb6d05922ff94144248d2fb6f43c39aaf1c63a4697" }, "downloads": -1, "filename": "pytest-cov-exclude-0.0.8.tar.gz", "has_sig": false, "md5_digest": "eb2ec5e2c9cd501159aa9a1e3b5e6a84", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7008, "upload_time": "2016-04-28T13:51:29", "url": "https://files.pythonhosted.org/packages/f5/1b/6eb5ef3632c5189468e6e536d022b96e7bb20cbaefdfb3af21c1d261432c/pytest-cov-exclude-0.0.8.tar.gz" } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "020d94d68423db21f440c674aa00504e", "sha256": "e5e373c4e5b13a43b5f2d7ec4baf68af4fcdedd4097702cb7983475a95fd4b25" }, "downloads": -1, "filename": "pytest_cov_exclude-0.0.9-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "020d94d68423db21f440c674aa00504e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11249, "upload_time": "2016-04-29T08:56:26", "url": "https://files.pythonhosted.org/packages/21/27/c63af4ce00ce26000ac82e78228f7de4f273e54f3c628aa79d9699abaabd/pytest_cov_exclude-0.0.9-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "85d68987c7581ced152817fce65389b8", "sha256": "f67e3a0ef44160e6b9ceb36902cee68a64d328a0a61b1b7fe881414f4c94fa88" }, "downloads": -1, "filename": "pytest-cov-exclude-0.0.9.tar.gz", "has_sig": false, "md5_digest": "85d68987c7581ced152817fce65389b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7063, "upload_time": "2016-04-29T08:56:36", "url": "https://files.pythonhosted.org/packages/3e/55/e4c346205bc51efe8632fc419b15349a8ea297fe32fce03bf684c10e2d0c/pytest-cov-exclude-0.0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "020d94d68423db21f440c674aa00504e", "sha256": "e5e373c4e5b13a43b5f2d7ec4baf68af4fcdedd4097702cb7983475a95fd4b25" }, "downloads": -1, "filename": "pytest_cov_exclude-0.0.9-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "020d94d68423db21f440c674aa00504e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11249, "upload_time": "2016-04-29T08:56:26", "url": "https://files.pythonhosted.org/packages/21/27/c63af4ce00ce26000ac82e78228f7de4f273e54f3c628aa79d9699abaabd/pytest_cov_exclude-0.0.9-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "85d68987c7581ced152817fce65389b8", "sha256": "f67e3a0ef44160e6b9ceb36902cee68a64d328a0a61b1b7fe881414f4c94fa88" }, "downloads": -1, "filename": "pytest-cov-exclude-0.0.9.tar.gz", "has_sig": false, "md5_digest": "85d68987c7581ced152817fce65389b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7063, "upload_time": "2016-04-29T08:56:36", "url": "https://files.pythonhosted.org/packages/3e/55/e4c346205bc51efe8632fc419b15349a8ea297fe32fce03bf684c10e2d0c/pytest-cov-exclude-0.0.9.tar.gz" } ] }