{ "info": { "author": "David Szotten", "author_email": "davidszotten@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Topic :: Software Development :: Testing" ], "description": "pytest-cagoule\n==============\n\n**pytest-cagoule** is a pytest plugin to find which tests interact with the\ncode you've just changed.\n\n\nUsage\n-----\n\nCollect coverage information using ``--cagoule-capture``\n\n::\n\n py.test --cagoule-capture\n\nThen, to run the subset of tests that touch a particular file, use\n``cagoule-select=[:line number]``, e.g.\n\n::\n\n py.test --cagoule-select=path/to/file.py\n\nIf you are using ``git``, cagoule can find the files and lines that have changes\nin the current working directory::\n\n py.test --diff\n\nor for any other diff spec that git can parse, using ``--diff=``, e.g.\n\n::\n\n py.test --diff=head~1..head\n\n\nYou probably want to configure your CI server to handle capturing.\n\n\nInstalling\n----------\n\nInstall **pytest-cagoule** using ``pip``::\n\n pip install pytest-cagoule\n\n\nCaveats\n^^^^^^^\n\nOnly lines executed *during individual test runs* are captured. This often\nexcludes module level code, which is executed at *import* time, before the test\nstarts. Also, tests are of course registered against the code as it was when\ndata was captured, so if using ``--diff``, no new tests will be included.\n\n\nInspiration\n^^^^^^^^^^^\n\nIdea from ``nose-knows``\n\n\nLicense\n-------\n\nMIT. See ``LICENSE`` for details", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/davidszotten/pytest-cagoule", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pytest-cagoule", "package_url": "https://pypi.org/project/pytest-cagoule/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pytest-cagoule/", "project_urls": { "Homepage": "https://github.com/davidszotten/pytest-cagoule" }, "release_url": "https://pypi.org/project/pytest-cagoule/0.3.0/", "requires_dist": null, "requires_python": "", "summary": "Pytest plugin to only run tests affected by changes", "version": "0.3.0" }, "last_serial": 2355673, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "c2fdd22bc0221f45fac6b36620c83553", "sha256": "3e8ee76d347b6a841736d158ba2289476d71a8d803e9262d5dddbd3e0ff62c43" }, "downloads": -1, "filename": "pytest_cagoule-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c2fdd22bc0221f45fac6b36620c83553", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7547, "upload_time": "2014-10-12T14:29:20", "url": "https://files.pythonhosted.org/packages/50/00/c2841cb0674aacd1a8660dc5002a8c08a9ff617c349b3eeb202fb1faa69d/pytest_cagoule-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d192b47a41c1dbfdf3bf9ba442c9b0a9", "sha256": "3a47bc662c2f74403bfa7fdedfe1e5132de82ce1e9f731f5f7375ae78d5082d5" }, "downloads": -1, "filename": "pytest-cagoule-0.1.0.tar.gz", "has_sig": false, "md5_digest": "d192b47a41c1dbfdf3bf9ba442c9b0a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5476, "upload_time": "2014-10-12T14:29:16", "url": "https://files.pythonhosted.org/packages/d4/7d/9915a9eb7a00e34e9141d0d0ede01cf7f4cbdb8f158325b2514f02023a69/pytest-cagoule-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "00b569c4f49d2c4a7fba35e142227d38", "sha256": "98dad8c1212d051881fb97aab2b89b136f91f9b8313e85588ae059a8ab8449ac" }, "downloads": -1, "filename": "pytest-cagoule-0.1.1.tar.gz", "has_sig": false, "md5_digest": "00b569c4f49d2c4a7fba35e142227d38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5458, "upload_time": "2014-10-12T15:52:07", "url": "https://files.pythonhosted.org/packages/8d/86/82f6c72ff5f78ce7491139375fb26150fbc2aad4ccea00273f924f6f6f06/pytest-cagoule-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "7d1cbad2a7b8018c441486c54e2780b8", "sha256": "b88134500ac10c6b868a67222ccdc8cd29cd42e4a854764d8f7dedc75db751d4" }, "downloads": -1, "filename": "pytest-cagoule-0.2.0.tar.gz", "has_sig": false, "md5_digest": "7d1cbad2a7b8018c441486c54e2780b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5814, "upload_time": "2015-01-18T18:01:37", "url": "https://files.pythonhosted.org/packages/2a/21/4399d9c23a82c3c0db16c114443b409d30249b8f5c8739fabff7b15f11df/pytest-cagoule-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "c254821ccc0fed4f85afd3ccc1e62697", "sha256": "8eb0eb2c93629dfdf9dc535985b58435a5d8d0e6c752003b2b4a909435cc80f4" }, "downloads": -1, "filename": "pytest-cagoule-0.3.0.tar.gz", "has_sig": false, "md5_digest": "c254821ccc0fed4f85afd3ccc1e62697", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5901, "upload_time": "2016-09-21T18:13:39", "url": "https://files.pythonhosted.org/packages/ce/c6/5352ae689bb7462c13f447dfcaf686969031c1672a38be0667921fd2313d/pytest-cagoule-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c254821ccc0fed4f85afd3ccc1e62697", "sha256": "8eb0eb2c93629dfdf9dc535985b58435a5d8d0e6c752003b2b4a909435cc80f4" }, "downloads": -1, "filename": "pytest-cagoule-0.3.0.tar.gz", "has_sig": false, "md5_digest": "c254821ccc0fed4f85afd3ccc1e62697", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5901, "upload_time": "2016-09-21T18:13:39", "url": "https://files.pythonhosted.org/packages/ce/c6/5352ae689bb7462c13f447dfcaf686969031c1672a38be0667921fd2313d/pytest-cagoule-0.3.0.tar.gz" } ] }