{ "info": { "author": "Marc Tardif", "author_email": "marc@interunion.ca", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Pytest", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Quality Assurance", "Topic :: Software Development :: Testing", "Topic :: Utilities" ], "description": "pytest-param\n============\n\npytest-param is a plugin for `py.test `_ that makes it\neasy to test all, first, last or random params.\n\n.. image:: https://img.shields.io/badge/license-MIT-blue.svg\n :target: https://github.com/cr3/pytest-param/blob/master/LICENSE\n :alt: License\n.. image:: https://img.shields.io/pypi/v/pytest-param.svg\n :target: https://pypi.python.org/pypi/pytest-param/\n :alt: PyPI\n.. image:: https://img.shields.io/travis/cr3/pytest-param.svg\n :target: https://travis-ci.org/cr3/pytest-param/\n :alt: Travis\n.. image:: https://img.shields.io/github/issues-raw/cr3/pytest-param.svg\n :target: https://github.com/cr3/pytest-param/issues\n :alt: Issues\n\nRequirements\n------------\n\nYou will need the following prerequisites to use pytest-param:\n\n- Python 2.6, 2.7, 3.2, 3.3, 3.4, 3.5, PyPy or PyPy3\n- py.test 2.6 or newer\n\nInstallation\n------------\n\nTo install pytest-param:\n\n.. code-block:: bash\n\n $ pip install pytest-param\n\nTesting a param\n---------------\n\nGiven `test_file.py` with this test:\n\n.. code-block:: python\n\n import pytest\n @pytest.mark.parametrize(\"params\", [True, False])\n def test_param(params):\n pass\n\nUse the :code:`--param=first` command line option to test the :code:`True`\nparam:\n\n.. code-block:: bash\n\n $ py.test --param=first test_file.py\n\nUse :code:`--param=last` to test the :code:`False` param:\n\n.. code-block:: bash\n\n $ py.test --param=last test_file.py\n\nUse :code:`--param=random` to test one of the params at random.\n\n\nResources\n---------\n\n- `Release Notes `_\n- `Issue Tracker `_\n- `Code `_", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/cr3/pytest-param", "keywords": "py.test pytest param", "license": "MIT license", "maintainer": "", "maintainer_email": "", "name": "pytest-param", "package_url": "https://pypi.org/project/pytest-param/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pytest-param/", "project_urls": { "Homepage": "https://github.com/cr3/pytest-param" }, "release_url": "https://pypi.org/project/pytest-param/0.1.1/", "requires_dist": [ "pytest (>=2.6.0)" ], "requires_python": "", "summary": "pytest plugin to test all, first, last or random params", "version": "0.1.1" }, "last_serial": 2335718, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "33d92d405e64c56b1fcb273e68ea7550", "sha256": "d6b61306195db282d14089852ed506592c95772e3794106c5de9547b9f3bcdcc" }, "downloads": -1, "filename": "pytest_param-0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "33d92d405e64c56b1fcb273e68ea7550", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4517, "upload_time": "2016-09-11T02:44:26", "url": "https://files.pythonhosted.org/packages/ba/6b/e5e43ad4447e34c012b415d437f3c044d1c95c82b09d1b7f8762aa8dd068/pytest_param-0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bd31bfbb9e486a7f5a2d4ff2e84cbf8b", "sha256": "c32bc5af75679483ec09bbeeacd2ec0a295a3eef6ec143f7855405ff71f30c9e" }, "downloads": -1, "filename": "pytest-param-0.1.tar.gz", "has_sig": false, "md5_digest": "bd31bfbb9e486a7f5a2d4ff2e84cbf8b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5292, "upload_time": "2016-09-11T02:44:28", "url": "https://files.pythonhosted.org/packages/8c/8d/f3ba19fa292807c8e47dcf1516729a79aa3571a48eefa05d22d19fd6a0d9/pytest-param-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "a41a50c0d1c2a85b8ce33c85f3f2589b", "sha256": "00216de7b2f40992add60401898631c88c2d008d549df6a01244ae960a6199cb" }, "downloads": -1, "filename": "pytest_param-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a41a50c0d1c2a85b8ce33c85f3f2589b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4518, "upload_time": "2016-09-11T03:28:34", "url": "https://files.pythonhosted.org/packages/cd/38/97355ece45122f2b7de43c9dca1293532a836e7e1bfb2e58727a57bcfe0e/pytest_param-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "78a0ef7b44754f3614e908d48ded81f7", "sha256": "9f730d49403021e794fff8dfd8d08fdfca78df050e25f6c78ec434d0c843ec1a" }, "downloads": -1, "filename": "pytest-param-0.1.1.tar.gz", "has_sig": false, "md5_digest": "78a0ef7b44754f3614e908d48ded81f7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5305, "upload_time": "2016-09-11T03:28:37", "url": "https://files.pythonhosted.org/packages/ff/a9/ec29336fe6ac34646ed1f0c7669eca646405e31f3960fc378ff9cc6171d4/pytest-param-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a41a50c0d1c2a85b8ce33c85f3f2589b", "sha256": "00216de7b2f40992add60401898631c88c2d008d549df6a01244ae960a6199cb" }, "downloads": -1, "filename": "pytest_param-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a41a50c0d1c2a85b8ce33c85f3f2589b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4518, "upload_time": "2016-09-11T03:28:34", "url": "https://files.pythonhosted.org/packages/cd/38/97355ece45122f2b7de43c9dca1293532a836e7e1bfb2e58727a57bcfe0e/pytest_param-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "78a0ef7b44754f3614e908d48ded81f7", "sha256": "9f730d49403021e794fff8dfd8d08fdfca78df050e25f6c78ec434d0c843ec1a" }, "downloads": -1, "filename": "pytest-param-0.1.1.tar.gz", "has_sig": false, "md5_digest": "78a0ef7b44754f3614e908d48ded81f7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5305, "upload_time": "2016-09-11T03:28:37", "url": "https://files.pythonhosted.org/packages/ff/a9/ec29336fe6ac34646ed1f0c7669eca646405e31f3960fc378ff9cc6171d4/pytest-param-0.1.1.tar.gz" } ] }