{ "info": { "author": "Raphael Pierzina", "author_email": "raphael@hackebrot.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: Pytest", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Testing" ], "description": "# pytest-snail\n\nPlugin for adding a marker to slow running tests. \ud83d\udc0c\n\n## Installation\n\nYou can install **pytest-snail** via [pip][pip] from [PyPI][PyPI]:\n\n```text\npip install pytest-snail==0.1.0\n```\n[pip]: https://pypi.python.org/pypi/pip/\n[PyPI]: https://pypi.org/project/pytest-snail/\n\n## Usage\n\nWhen you run your tests, **pytest-snail** keeps track of test durations for\neach test item by test phase: setup, call, and teardown. \u23f1\n\nThe next time you run your tests, **pytest-snail** adds a `snail` marker to\nall test items with a recorded, accumulated duration that is equal or longer\nthan the value for the `--snail` CLI option (defaults to `5.0` seconds).\n\nYou can then use pytest's marker expressions to select or deselect tests.\n\n### Examples\n\nFirst run your tests to measure test durations:\n\n```text\npytest\n```\n\nThen deselect all tests that take longer than `5.0` seconds to complete:\n\n```text\npytest -m \"not snail\"\n```\n\nSelect only tests that take longer than `10.0` seconds to complete:\n\n```text\npytest --snail 10.0 -m snail\n```\n\n## Community\n\nPlease check out the [good first issue][good first issue] label for tasks,\nthat are good candidates for your first contribution to\n**pytest-snail**. Your contributions are greatly\nappreciated! Every little bit helps, and credit will always be given!\n\nYou can also support the development of this project by volunteering to\nbecome a maintainer, which means you will be able to triage issues, merge\npull-requests, and publish new releases. If you're interested, please submit\na pull-request to add yourself to the list of [maintainers][community] and\nwe'll get you started! \ud83d\ude80\n\nPlease note that **pytest-snail** is released with a [Contributor Code of\nConduct][code-of-conduct]. By participating in this project you agree to\nabide by its terms.\n\n[good first issue]: https://github.com/hackebrot/pytest-snail/labels/good%20first%20issue\n[code-of-conduct]: https://github.com/hackebrot/pytest-snail/blob/master/CODE_OF_CONDUCT.md\n[community]: https://github.com/hackebrot/pytest-snail/blob/master/COMMUNITY.md\n\n## License\n\nDistributed under the terms of the MIT license, **pytest-snail** is free and\nopen source software.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/hackebrot/pytest-snail", "keywords": "pytest", "license": "MIT License", "maintainer": "Raphael Pierzina", "maintainer_email": "raphael@hackebrot.de", "name": "pytest-snail", "package_url": "https://pypi.org/project/pytest-snail/", "platform": "", "project_url": "https://pypi.org/project/pytest-snail/", "project_urls": { "Homepage": "https://github.com/hackebrot/pytest-snail", "Issues": "https://github.com/hackebrot/pytest-snail/issues", "Repository": "https://github.com/hackebrot/pytest-snail" }, "release_url": "https://pypi.org/project/pytest-snail/0.1.0/", "requires_dist": [ "pytest (>=5.0.1)" ], "requires_python": ">=3.6", "summary": "Plugin for adding a marker to slow running tests. \ud83d\udc0c", "version": "0.1.0", "yanked": false, "yanked_reason": null }, "last_serial": 6075391, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "09d88a610e5452914a2cb9196e649686", "sha256": "c3628d1c4a3b6a92738460d1b20069b05a6231354467712d81e37bb4e4602bd0" }, "downloads": -1, "filename": "pytest_snail-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "09d88a610e5452914a2cb9196e649686", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 4674, "upload_time": "2019-11-04T13:13:32", "upload_time_iso_8601": "2019-11-04T13:13:32.397325Z", "url": "https://files.pythonhosted.org/packages/f0/10/fd49ef1bf55d2e8f95ae28807c2aa90721df60f9accbd1d896e8a57dbc6b/pytest_snail-0.1.0-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "36626c2b7b2438e13b45feee49a3a4fb", "sha256": "6ca089aa6745ab88ce25ee30813559f5b1323806db9cbbf843e61f8cfb41b60f" }, "downloads": -1, "filename": "pytest-snail-0.1.0.tar.gz", "has_sig": false, "md5_digest": "36626c2b7b2438e13b45feee49a3a4fb", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 4508, "upload_time": "2019-11-04T13:13:33", "upload_time_iso_8601": "2019-11-04T13:13:33.718509Z", "url": "https://files.pythonhosted.org/packages/3a/58/f7ad1eae5a764a7bb850d609087f6a3e9563f5da6152f84de7585062950e/pytest-snail-0.1.0.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "09d88a610e5452914a2cb9196e649686", "sha256": "c3628d1c4a3b6a92738460d1b20069b05a6231354467712d81e37bb4e4602bd0" }, "downloads": -1, "filename": "pytest_snail-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "09d88a610e5452914a2cb9196e649686", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 4674, "upload_time": "2019-11-04T13:13:32", "upload_time_iso_8601": "2019-11-04T13:13:32.397325Z", "url": "https://files.pythonhosted.org/packages/f0/10/fd49ef1bf55d2e8f95ae28807c2aa90721df60f9accbd1d896e8a57dbc6b/pytest_snail-0.1.0-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "36626c2b7b2438e13b45feee49a3a4fb", "sha256": "6ca089aa6745ab88ce25ee30813559f5b1323806db9cbbf843e61f8cfb41b60f" }, "downloads": -1, "filename": "pytest-snail-0.1.0.tar.gz", "has_sig": false, "md5_digest": "36626c2b7b2438e13b45feee49a3a4fb", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 4508, "upload_time": "2019-11-04T13:13:33", "upload_time_iso_8601": "2019-11-04T13:13:33.718509Z", "url": "https://files.pythonhosted.org/packages/3a/58/f7ad1eae5a764a7bb850d609087f6a3e9563f5da6152f84de7585062950e/pytest-snail-0.1.0.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }