{ "info": { "author": "Jiangge Zhang", "author_email": "tonyseek@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Plugins", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Testing" ], "description": "pytest-xpara\n============\n\n*pytest-xpara* is an extended parametrizing plugin of pytest.\n\n\nInstallation\n------------\n\n::\n\n pip install pytest-xpara\n\n\nUsage\n-----\n\n::\n\n py.test --xpara test_foo.py\n\n\nExample\n-------\n\n.. code-block:: python\n\n # test_foo.py\n import pytest\n\n @pytest.mark.xparametrize\n def test_bar(lhs, rhs):\n assert lhs == -rhs\n\n.. code-block:: yaml\n\n # test_foo.yaml\n test_bar:\n args: lhs,rhs\n data:\n - lhs: 1\n rhs: -1\n - lhs: -1\n rhs: 1\n dataids:\n - left_to_right\n - right_to_left\n\n::\n\n $ py.test -v --xpara test_foo.py\n ========================== test session starts ===========================\n platform darwin -- Python 2.7.12, pytest-3.0.5, py-1.4.32, pluggy-0.4.0\n cachedir: ../.cache\n rootdir: /Users/tonyseek/Sites/pytest-xpara, inifile: setup.cfg\n plugins: xpara-0.0.0, cov-2.4.0\n collecting ... collected 2 items\n\n test_foo.py::test_bar[left_to_right] PASSED\n test_foo.py::test_bar[right_to_left] PASSED\n\n ======================== 2 passed in 0.03 seconds ========================\n\n\nContributing\n------------\n\nIf you want to report bugs or request features, please feel free to open issues\nor create pull requests on\u00a0GitHub_.\n\n\n.. _GitHub: https://github.com/tonyseek/pytest-xpara/issues\n.. |Build Status| image:: https://img.shields.io/travis/tonyseek/pytest-xpara.svg?style=flat\n :target: https://travis-ci.org/tonyseek/pytest-xpara\n :alt: Build Status\n.. |Coverage Status| image:: https://img.shields.io/coveralls/tonyseek/pytest-xpara.svg?style=flat\n :target: https://coveralls.io/r/tonyseek/pytest-xpara\n :alt: Coverage Status\n.. |PyPI Version| image:: https://img.shields.io/pypi/v/pytest-xpara.svg?style=flat\n :target: https://pypi.python.org/pypi/pytest-xpara\n :alt: PyPI Version\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/tonyseek/pytest-xpara", "keywords": "pytest,parametrize,yaml", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pytest-xpara", "package_url": "https://pypi.org/project/pytest-xpara/", "platform": "any", "project_url": "https://pypi.org/project/pytest-xpara/", "project_urls": { "Homepage": "https://github.com/tonyseek/pytest-xpara" }, "release_url": "https://pypi.org/project/pytest-xpara/0.1.1/", "requires_dist": [ "pytest", "toml; extra == 'toml'", "PyYAML; extra == 'yaml'" ], "requires_python": "", "summary": "An extended parametrizing plugin of pytest.", "version": "0.1.1" }, "last_serial": 3290091, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "df74db338231586ef42c521bc6e9bf44", "sha256": "b93759dad59565b3f882f6221bbbbe6b58e5407e5d9ca95d0d8eabd974740b34" }, "downloads": -1, "filename": "pytest_xpara-0.1.0-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "df74db338231586ef42c521bc6e9bf44", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5175, "upload_time": "2017-01-03T11:48:46", "url": "https://files.pythonhosted.org/packages/da/34/c682bde3b98cb59150ce596717e195097790c915c9f5e67c6c1a6908b128/pytest_xpara-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7a3ebcf114f9f0a7e9227db468fb379f", "sha256": "13923a17189edb6d036136cc6156abddea8409df7367dc77e1f67594b8b026fd" }, "downloads": -1, "filename": "pytest-xpara-0.1.0.tar.gz", "has_sig": true, "md5_digest": "7a3ebcf114f9f0a7e9227db468fb379f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3174, "upload_time": "2017-01-03T11:48:47", "url": "https://files.pythonhosted.org/packages/9c/44/9828e5af655294c3c5e1c83500debf3f4843ce4e811837ac8b32184febbe/pytest-xpara-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "a10e228f4008f4f5f6c285fcfc45e45d", "sha256": "91ab093c887941146f3000d4795061b877bfffeac35639e587e5bbf765a55642" }, "downloads": -1, "filename": "pytest_xpara-0.1.1-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "a10e228f4008f4f5f6c285fcfc45e45d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5221, "upload_time": "2017-10-30T07:05:00", "url": "https://files.pythonhosted.org/packages/09/10/dfacb32c94755affd31544828de152737d557ace29fc99c74d42ec3b96d3/pytest_xpara-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "306664af90509bb824e9badcc5422cc1", "sha256": "0d7596ac9aa6779031d82c4b429ee878132126c17db2d575d44a304a172f6fbf" }, "downloads": -1, "filename": "pytest-xpara-0.1.1.tar.gz", "has_sig": true, "md5_digest": "306664af90509bb824e9badcc5422cc1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3197, "upload_time": "2017-10-30T07:05:03", "url": "https://files.pythonhosted.org/packages/3a/0f/d49d0165643465fc5a26c09a48e75e2a97d857c522fa0b153fa704acbd3b/pytest-xpara-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a10e228f4008f4f5f6c285fcfc45e45d", "sha256": "91ab093c887941146f3000d4795061b877bfffeac35639e587e5bbf765a55642" }, "downloads": -1, "filename": "pytest_xpara-0.1.1-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "a10e228f4008f4f5f6c285fcfc45e45d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5221, "upload_time": "2017-10-30T07:05:00", "url": "https://files.pythonhosted.org/packages/09/10/dfacb32c94755affd31544828de152737d557ace29fc99c74d42ec3b96d3/pytest_xpara-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "306664af90509bb824e9badcc5422cc1", "sha256": "0d7596ac9aa6779031d82c4b429ee878132126c17db2d575d44a304a172f6fbf" }, "downloads": -1, "filename": "pytest-xpara-0.1.1.tar.gz", "has_sig": true, "md5_digest": "306664af90509bb824e9badcc5422cc1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3197, "upload_time": "2017-10-30T07:05:03", "url": "https://files.pythonhosted.org/packages/3a/0f/d49d0165643465fc5a26c09a48e75e2a97d857c522fa0b153fa704acbd3b/pytest-xpara-0.1.1.tar.gz" } ] }