{ "info": { "author": "Anders Hovm\u00f6ller", "author_email": "boxed@killingar.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Framework :: Pytest", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Testing", "Topic :: Utilities" ], "description": "===============================\npytest-test-this\n===============================\n\nPlugin for ``pytest`` to run relevant tests by naively check if test functions contain a reference to the symbol supplied.\n\n\nLimitations:\n - it only looks for top level test functions, so test classes won't be discovered\n - very naive check, so indirect usages of a symbol won't be found\n\nThis trade off has been made for speed. This method is extremely fast compared to the other common method which tries to be correct by running the full test suite under coverage and checking if the function was called directly or indirectly.\n\nInstallation\n------------\n\n pip install pytest-test-this\n\nUsage\n-----\n\n pytest --test-this=foo\n\n...where foo is the name of your function, class or variable. You can write multiple symbols comma separated.\n\n\nThere is also a special simplified mode for users of git:\n\n pytest --test-this-git\n\n\nthis will try to automatically guess the symbols to run againsts based on a `git diff` and run pytest-test-this againsts those symbols\n\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/boxed/pytest-test-this", "keywords": "pytest,py.test,pycharm", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "pytest-test-this", "package_url": "https://pypi.org/project/pytest-test-this/", "platform": "", "project_url": "https://pypi.org/project/pytest-test-this/", "project_urls": { "Homepage": "https://github.com/boxed/pytest-test-this" }, "release_url": "https://pypi.org/project/pytest-test-this/0.3.0/", "requires_dist": [ "pytest (>=2.3)" ], "requires_python": "", "summary": "Plugin for py.test to run relevant tests, based on naively checking if a test contains a reference to the symbol you supply", "version": "0.3.0" }, "last_serial": 5832171, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "bf7598ebd6de0895c6bf820d5bccf9a3", "sha256": "98783920683acf168e5c6d0196aae01d837f97ef988e96163064b1b057c5f797" }, "downloads": -1, "filename": "pytest_test_this-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "bf7598ebd6de0895c6bf820d5bccf9a3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4556, "upload_time": "2019-09-13T13:15:50", "url": "https://files.pythonhosted.org/packages/38/56/e7ccb68cf33268ece9d04e812d1543067bfee4a00595ba75df37539f815e/pytest_test_this-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1dbcb3950ef66227b545a0e21f87c507", "sha256": "940421fb3b0ccbe5e0ac64eea548e74d4d659b4869e9aa4291163e72a23a1cf2" }, "downloads": -1, "filename": "pytest-test-this-0.1.0.tar.gz", "has_sig": false, "md5_digest": "1dbcb3950ef66227b545a0e21f87c507", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3906, "upload_time": "2019-09-13T13:15:53", "url": "https://files.pythonhosted.org/packages/0c/d9/134bb83f03082e00fb162010174cd081b68e7462fbb5d2b5d1626e46a1b0/pytest-test-this-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "8b30860a3d87ebe2b35b46c820ab40c2", "sha256": "47b2fe26891ccaa513b363329d543aed3fa56ee3ddbd64d69178aafe1da81579" }, "downloads": -1, "filename": "pytest_test_this-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "8b30860a3d87ebe2b35b46c820ab40c2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4590, "upload_time": "2019-09-13T13:29:49", "url": "https://files.pythonhosted.org/packages/49/c0/d65c9050ebbe45b9e527df56172ac18c6f428d01d5c8ad60395e46f3321e/pytest_test_this-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7d803af506d556e9515136651293b523", "sha256": "68b01a43c0ff57164ebbc31303cf2815dc558e560d764a1da70a5a6c22d2a893" }, "downloads": -1, "filename": "pytest-test-this-0.2.0.tar.gz", "has_sig": false, "md5_digest": "7d803af506d556e9515136651293b523", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3938, "upload_time": "2019-09-13T13:29:50", "url": "https://files.pythonhosted.org/packages/4f/66/076a619657e9a1e4ef495b0947aee590d3fb20d30ad64e7d0efbb058c526/pytest-test-this-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "076889edd0e1e5b1c2adba5a1f23c545", "sha256": "983b175bc570fca09006e362b2996c790109eaceef795d1ab9fe94684ce2e8da" }, "downloads": -1, "filename": "pytest_test_this-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "076889edd0e1e5b1c2adba5a1f23c545", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5046, "upload_time": "2019-09-15T14:35:19", "url": "https://files.pythonhosted.org/packages/0f/06/5ed8db3e0b0ee7e0f1dbf733090e3284666814d8cced254d2e2d714999de/pytest_test_this-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c47536dd46de6b6021c2f9cf323356a7", "sha256": "ae5ec35b302966818d6e640e9a9f6ef3d2f36091dde378897597c8d440464754" }, "downloads": -1, "filename": "pytest-test-this-0.3.0.tar.gz", "has_sig": false, "md5_digest": "c47536dd46de6b6021c2f9cf323356a7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4401, "upload_time": "2019-09-15T14:35:21", "url": "https://files.pythonhosted.org/packages/85/fc/15d8462f6707c787234f67d19daeb6f00c4a3e93c038e386edb019d9a4b8/pytest-test-this-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "076889edd0e1e5b1c2adba5a1f23c545", "sha256": "983b175bc570fca09006e362b2996c790109eaceef795d1ab9fe94684ce2e8da" }, "downloads": -1, "filename": "pytest_test_this-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "076889edd0e1e5b1c2adba5a1f23c545", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5046, "upload_time": "2019-09-15T14:35:19", "url": "https://files.pythonhosted.org/packages/0f/06/5ed8db3e0b0ee7e0f1dbf733090e3284666814d8cced254d2e2d714999de/pytest_test_this-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c47536dd46de6b6021c2f9cf323356a7", "sha256": "ae5ec35b302966818d6e640e9a9f6ef3d2f36091dde378897597c8d440464754" }, "downloads": -1, "filename": "pytest-test-this-0.3.0.tar.gz", "has_sig": false, "md5_digest": "c47536dd46de6b6021c2f9cf323356a7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4401, "upload_time": "2019-09-15T14:35:21", "url": "https://files.pythonhosted.org/packages/85/fc/15d8462f6707c787234f67d19daeb6f00c4a3e93c038e386edb019d9a4b8/pytest-test-this-0.3.0.tar.gz" } ] }