{ "info": { "author": "Ana Paula Gomes", "author_email": "apgomes88@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.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Testing" ], "description": "===============\npytest-picked\n===============\n\n.. image:: https://travis-ci.org/anapaulagomes/pytest-picked.svg?branch=master\n :target: https://travis-ci.org/anapaulagomes/pytest-picked\n :alt: See Build Status on Travis CI\n\n.. image:: https://ci.appveyor.com/api/projects/status/github/anapaulagomes/pytest-picked?branch=master&svg=true\n :target: https://ci.appveyor.com/project/anapaulagomes/pytest-picked/branch/master\n :alt: See Build Status on AppVeyor\n\n.. image:: https://img.shields.io/pypi/v/pytest-picked.svg\n :target: https://pypi.org/project/pytest-picked/\n :alt: See Package Status on PyPI\n\n.. image:: https://img.shields.io/conda/vn/conda-forge/pytest-picked.svg\n :target: https://anaconda.org/conda-forge/pytest-picked\n :alt: Conda forge package\n\n.. image:: https://img.shields.io/pypi/pyversions/pytest-picked.svg\n :target: https://pypi.org/project/pytest-picked\n :alt: Supported Python versions\n\nRun the tests related to the unstaged files or the current branch (according to Git)\n\n---\n\n.. image:: demo.gif\n :height: 400px\n :alt: Demo\n\nLet's say you have the following output from ``git status``:\n\n::\n\n $ git status\n\n On branch master\n Your branch is ahead of 'origin/master' by 1 commit.\n (use \"git push\" to publish your local commits)\n\n Untracked files:\n (use \"git add ...\" to include in what will be committed)\n\n api.py\n tests/api/\n tests/test_board.py\n\n nothing added to commit but untracked files present (use \"git add\" to track)\n\n\nRunning ``pytest --picked``, the plugin will run all tests that come from this output.\n\n::\n\n $ pytest --picked\n\n ============================= test session starts =============================\n platform darwin -- Python 3.6.4, pytest-3.6.0, py-1.5.3, pluggy-0.6.0\n rootdir: /Users/ana.gomes/personal-workspace/grandma, inifile:\n plugins: picked-0.1.0, mock-1.10.0, flask-0.10.0, deadfixtures-2.0.1\n collecting 34 items\n Changed test files... 1. ['tests/test_board.py']\n Changed test folders... 1. ['tests/api/']\n collected 34 items\n\n tests/test_board.py . [ 50%]\n tests/api/test_new.py . [100%]\n\n =========================== 2 passed in 0.07 seconds ===========================\n\nAll tests will be run from files and folders which are modified but not yet committed.\nNo more copy and paste!\n\n\nUsage\n-----\n\n::\n\n $ pytest --picked\n\n $ pytest --picked=first\n\n $ pytest --picked --mode=branch\n\n $ pytest --picked --mode=unstaged # default\n\n\nFeatures\n--------\n\nUsing ``git status``, this plugin allows you to:\n\n* Run only tests from modified test files\n* Run tests from modified test files first, followed by all unmodified tests\n\nInstallation\n------------\n\nYou can install ``pytest-picked`` via `pip`_ from `PyPI`_::\n\n $ pip install pytest-picked\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\n\nLicense\n-------\n\nDistributed under the terms of the `MIT`_ license, \"pytest-picked\" 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/anapaulagomes/pytest-picked/issues\n.. _`pytest`: https://github.com/pytest-dev/pytest\n.. _`tox`: https://tox.readthedocs.io/en/latest/\n.. _`pip`: https://pypi.org/project/pip/\n.. _`PyPI`: https://pypi.org/project", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/anapaulagomes/pytest-picked", "keywords": "", "license": "MIT", "maintainer": "Ana Paula Gomes", "maintainer_email": "apgomes88@gmail.com", "name": "pytest-picked", "package_url": "https://pypi.org/project/pytest-picked/", "platform": "", "project_url": "https://pypi.org/project/pytest-picked/", "project_urls": { "Homepage": "https://github.com/anapaulagomes/pytest-picked" }, "release_url": "https://pypi.org/project/pytest-picked/0.4.1/", "requires_dist": null, "requires_python": ">=3.5", "summary": "Run the tests related to the changed files", "version": "0.4.1" }, "last_serial": 4911917, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "a3108254591cbb0405d3afee4b835eff", "sha256": "2ca5df022694c268c8ac8a9a2f7d8ff8eec7e66db84f903b45d85a4a3f24b88e" }, "downloads": -1, "filename": "pytest-picked-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a3108254591cbb0405d3afee4b835eff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4019, "upload_time": "2018-05-24T09:33:20", "url": "https://files.pythonhosted.org/packages/0b/95/1f04ffd1ac85072e277cc9bc1a1d1878e3fbf7f926b0efbfac9a917e3b2f/pytest-picked-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "5b3baf1e0e2eed5bacf4264abbf7be84", "sha256": "426a5787d0a9398f628302a09aaf71bd1cb2706b38fc78939d18c44279842749" }, "downloads": -1, "filename": "pytest-picked-0.2.0.tar.gz", "has_sig": false, "md5_digest": "5b3baf1e0e2eed5bacf4264abbf7be84", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4784, "upload_time": "2018-07-13T15:46:44", "url": "https://files.pythonhosted.org/packages/a5/3c/8e83f3a07b188c8900acaeee8842b7ab5a736076c36fcf9a3f36969c3d9a/pytest-picked-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "bbc586608474511417fb01169edad8b6", "sha256": "ad466fdccd11784385fd472e256418b61dee432604cf284f1eb0997fcfc5bad3" }, "downloads": -1, "filename": "pytest-picked-0.3.0.tar.gz", "has_sig": false, "md5_digest": "bbc586608474511417fb01169edad8b6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5513, "upload_time": "2018-08-09T21:45:49", "url": "https://files.pythonhosted.org/packages/18/27/921625109f1489664db979791d6034bd6ae0dd116c6bd554482f4fe1812a/pytest-picked-0.3.0.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "9acdad938de69cbea5531eebbc35dd76", "sha256": "facca1d536f5545b6f6218b3e8f4db67b3d758b15ff90bef61e2a868033668f7" }, "downloads": -1, "filename": "pytest_picked-0.3.2-py3-none-any.whl", "has_sig": false, "md5_digest": "9acdad938de69cbea5531eebbc35dd76", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 7144, "upload_time": "2018-11-25T11:14:35", "url": "https://files.pythonhosted.org/packages/a0/14/aae0c0244932c2a1f2c43da919e2b57c6960129863ad8582c8e89b4a64e2/pytest_picked-0.3.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "25bf2d51fd53de1e57f1012a5c36ad09", "sha256": "5cecedadea7ae942a151fd98adb979d24bed145b75a0b64f6e2dbdc0491e378f" }, "downloads": -1, "filename": "pytest-picked-0.3.2.tar.gz", "has_sig": false, "md5_digest": "25bf2d51fd53de1e57f1012a5c36ad09", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 5525, "upload_time": "2018-11-25T11:14:36", "url": "https://files.pythonhosted.org/packages/7c/f4/3921e6b63a67b9959a108d233f27fb39595a60f47036b0e93fcef5e07ffe/pytest-picked-0.3.2.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "f7ae4d3b84baae0d00b3d6d679a158e4", "sha256": "16e599c8fd4a39c6f9d3946cad10608562d4475ac6488e3b96ffcb8a605e26ff" }, "downloads": -1, "filename": "pytest_picked-0.4.0-py3-none-any.whl", "has_sig": false, "md5_digest": "f7ae4d3b84baae0d00b3d6d679a158e4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 7474, "upload_time": "2018-12-07T09:46:17", "url": "https://files.pythonhosted.org/packages/a6/3f/4b58860ecd65a4da2c388e4f8590f83b8be93173a4c423aca0dd90e0a67d/pytest_picked-0.4.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ca46b04c833923d7a29c11c28e375c0a", "sha256": "0e0b13865b66647a9c539a0213a777edd12ead254e2edcb3c6c9d6e7933b0fef" }, "downloads": -1, "filename": "pytest-picked-0.4.0.tar.gz", "has_sig": false, "md5_digest": "ca46b04c833923d7a29c11c28e375c0a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 5852, "upload_time": "2018-12-07T09:46:19", "url": "https://files.pythonhosted.org/packages/13/01/ab7699febf7335abe2f57bf5b50aba04fab44c382166198427d59412da57/pytest-picked-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "8561feabc7a6ea384445dcc6c4d04b68", "sha256": "ce1433afdfe314642c810ebf5daf642b3d12d94e041f16e72ebd3ca0a14a07b6" }, "downloads": -1, "filename": "pytest-picked-0.4.1.tar.gz", "has_sig": false, "md5_digest": "8561feabc7a6ea384445dcc6c4d04b68", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 5819, "upload_time": "2019-03-07T18:48:52", "url": "https://files.pythonhosted.org/packages/81/85/48f51ad98baf0ffe2db5930f11da84413e1616b8d73a74282dd169633c8d/pytest-picked-0.4.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8561feabc7a6ea384445dcc6c4d04b68", "sha256": "ce1433afdfe314642c810ebf5daf642b3d12d94e041f16e72ebd3ca0a14a07b6" }, "downloads": -1, "filename": "pytest-picked-0.4.1.tar.gz", "has_sig": false, "md5_digest": "8561feabc7a6ea384445dcc6c4d04b68", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 5819, "upload_time": "2019-03-07T18:48:52", "url": "https://files.pythonhosted.org/packages/81/85/48f51ad98baf0ffe2db5930f11da84413e1616b8d73a74282dd169633c8d/pytest-picked-0.4.1.tar.gz" } ] }