{ "info": { "author": "Julien Nicoulaud", "author_email": "julien.nicoulaud@gmail.com", "bugtrack_url": null, "classifiers": [ "Framework :: Pytest", "License :: OSI Approved :: GNU General Public License (GPL)", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "pytest-csv\n==========\n\n.. image:: https://img.shields.io/pypi/v/pytest-csv.svg\n :target: https://pypi.org/project/pytest-csv\n :alt: last release\n\n.. image:: https://img.shields.io/pypi/pyversions/pytest-csv.svg\n :target: https://pypi.org/project/pytest-csv\n :alt: pypi package\n\n.. image:: https://img.shields.io/badge/pytest-4.4%2B-green.svg\n :target: https://pytest.org\n :alt: pytest supported versions\n\n.. image:: https://travis-ci.org/nicoulaj/pytest-csv.svg?branch=master\n :target: https://travis-ci.org/nicoulaj/pytest-csv\n :alt: continuous integration\n\n----\n\n**CSV output for pytest.**\n\n----\n\nInstallation\n------------\n\nInstall using pip:\n::\n\n pip install pytest-csv\n\nUsage\n-----\n\n* To enable the CSV report:\n\n ::\n\n py.test --csv tests.csv\n\n* To customize the CSV delimiter/quoting characters:\n\n ::\n\n py.test --csv tests.csv --csv-delimiter ';' --csv-quote-char '\"'\n\n* To customize the columns:\n\n ::\n\n py.test --csv tests.csv --csv-columns host,function,status,duration,parameters_as_columns\n\n* This is the reference of all available columns:\n\n +----------------------------+--------------------------------------------------------------------------+\n | Column | Description |\n +============================+==========================================================================+\n | ``id`` | pytest test identifier |\n +----------------------------+--------------------------------------------------------------------------+\n | ``module`` | test module name |\n +----------------------------+--------------------------------------------------------------------------+\n | ``class`` | test class |\n +----------------------------+--------------------------------------------------------------------------+\n | ``function`` | test function name |\n +----------------------------+--------------------------------------------------------------------------+\n | ``name`` | test name, with arguments |\n +----------------------------+--------------------------------------------------------------------------+\n | ``file`` | test module file |\n +----------------------------+--------------------------------------------------------------------------+\n | ``doc`` | test function docstring |\n +----------------------------+--------------------------------------------------------------------------+\n | ``status`` | test status (passed, failed, error, skipped, xpassed or xfailed) |\n +----------------------------+--------------------------------------------------------------------------+\n | ``success`` | test status, as a boolean |\n +----------------------------+--------------------------------------------------------------------------+\n | ``duration`` | test duration, in seconds |\n +----------------------------+--------------------------------------------------------------------------+\n | ``duration_formatted`` | test duration, human readable |\n +----------------------------+--------------------------------------------------------------------------+\n | ``message`` | error message, if any |\n +----------------------------+--------------------------------------------------------------------------+\n | ``markers`` | test markers, as a comma-separated list |\n +----------------------------+--------------------------------------------------------------------------+\n | ``markers_with_args`` | test markers with their arguments, as a comma-separated list |\n +----------------------------+--------------------------------------------------------------------------+\n | ``markers_as_columns`` | test markers, each as a separate column |\n +----------------------------+--------------------------------------------------------------------------+\n | ``markers_args_as_columns``| test markers with their arguments, each as a separate column |\n +----------------------------+--------------------------------------------------------------------------+\n | ``parameters`` | test parameters, as a comma-separated list |\n +----------------------------+--------------------------------------------------------------------------+\n | ``parameters_as_columns`` | test parameters, each as a separate column |\n +----------------------------+--------------------------------------------------------------------------+\n | ``properties`` | properties recorded using ``record_property``, as a comma-separated list |\n +----------------------------+--------------------------------------------------------------------------+\n | ``properties_as_columns`` | properties recorded using ``record_property``, each as a separate column |\n +----------------------------+--------------------------------------------------------------------------+\n | ``user`` | current user name |\n +----------------------------+--------------------------------------------------------------------------+\n | ``host`` | current host (from ``platform`` module) |\n +----------------------------+--------------------------------------------------------------------------+\n | ``system`` | current system name (from ``platform`` module) |\n +----------------------------+--------------------------------------------------------------------------+\n | ``system_release`` | current system release info (from ``platform`` module) |\n +----------------------------+--------------------------------------------------------------------------+\n | ``system_version`` | current system version info (from ``platform`` module) |\n +----------------------------+--------------------------------------------------------------------------+\n | ``python_implementation`` | current python implementation (from ``platform`` module) |\n +----------------------------+--------------------------------------------------------------------------+\n | ``python_version`` | current python version (from ``platform`` module) |\n +----------------------------+--------------------------------------------------------------------------+\n | ``working_directory`` | current working directory |\n +----------------------------+--------------------------------------------------------------------------+\n\n* To add some data directly from a test function, enable `properties_as_columns` and use:\n\n ::\n\n def test_01(record_property):\n record_property('my column 1', 42)\n record_property('my column 2', 'foo bar')\n\n* To define new column types, in ``conftest.py`` (`more examples here `_):\n\n ::\n\n def pytest_csv_register_columns(columns):\n columns['my_simple_column'] = lambda item, report: {'my column': report.nodeid}\n\nIssues\n------\n\nPlease report issues `here `_.\n\nLicense\n-------\n\nThis software is released under the GNU General Public License v3.0, see ``COPYING`` for details.\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/nicoulaj/pytest-csv", "keywords": "py.test pytest csv tsv report", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "pytest-csv", "package_url": "https://pypi.org/project/pytest-csv/", "platform": "", "project_url": "https://pypi.org/project/pytest-csv/", "project_urls": { "Homepage": "https://github.com/nicoulaj/pytest-csv" }, "release_url": "https://pypi.org/project/pytest-csv/2.0.2/", "requires_dist": [ "pytest (>=4.4)", "six (>=1.0.0)", "pytest-xdist (>=1.28.0) ; extra == 'test'", "tabulate (>=0.8.2) ; extra == 'test'" ], "requires_python": "", "summary": "CSV output for pytest.", "version": "2.0.2" }, "last_serial": 5441777, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "2f50896609d7a4d270db8666c08461fe", "sha256": "99be04f90e378d21a82e9e9128f2a247972fdaf8d3ab57691f92f6ca1e9d8df4" }, "downloads": -1, "filename": "pytest_csv-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2f50896609d7a4d270db8666c08461fe", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 16509, "upload_time": "2018-03-26T20:55:58", "url": "https://files.pythonhosted.org/packages/25/58/c30c5480fe77ae25e62a22f7dd719c2033b3f960592540a8bd396a37b306/pytest_csv-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "da227cd510aabad93cc223be433180de", "sha256": "bcb23cf2cd5b42cbf7e13106771ce9118431129a6b5527c5528500ee87741543" }, "downloads": -1, "filename": "pytest-csv-1.0.0.tar.gz", "has_sig": false, "md5_digest": "da227cd510aabad93cc223be433180de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21330, "upload_time": "2018-03-26T20:55:59", "url": "https://files.pythonhosted.org/packages/46/90/2c87009e1dd56bc7316a8c6c1195509c4dd509f3de12cca2058eb87441f7/pytest-csv-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "17569f66afd317484dbebb58c3d69349", "sha256": "6d424b96ef4722a3e0318a3db78dda38448beb5764de2c661be1675c5c01eec8" }, "downloads": -1, "filename": "pytest_csv-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "17569f66afd317484dbebb58c3d69349", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 15619, "upload_time": "2018-03-28T20:18:00", "url": "https://files.pythonhosted.org/packages/ae/c5/4bd7cc8d7c26a7a6f6f08dc62dc1bbfb5a1a92b4ab49caf1eab0e287519a/pytest_csv-1.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "92b1b2c44368315eb96045628d1d3a02", "sha256": "5511c88972ef9ccf8d25fdbad5be8fd9717d89cc798a1d969d65f4a689713141" }, "downloads": -1, "filename": "pytest-csv-1.1.0.tar.gz", "has_sig": false, "md5_digest": "92b1b2c44368315eb96045628d1d3a02", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21128, "upload_time": "2018-03-28T20:18:01", "url": "https://files.pythonhosted.org/packages/ed/87/1649b2825e87342e1a95b3a1bbc1d948bdafceaddd8cd269e9be04a51b8f/pytest-csv-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "8e934a16471e9d4b3d052c1c3b2f235d", "sha256": "3a27addc19f3b0750a1cbbd5cd775433736cebaf3e963e2dd99a502a90ee0144" }, "downloads": -1, "filename": "pytest_csv-1.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8e934a16471e9d4b3d052c1c3b2f235d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 15625, "upload_time": "2018-03-31T16:33:15", "url": "https://files.pythonhosted.org/packages/10/19/def174e7b8978be00753afddfbf6e508e46ade2aa7d1e1b3e6ebf69b488e/pytest_csv-1.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f9b0079aa082b6e53305f870184cc1bb", "sha256": "a10bb2890025499cd72b14c769a1df5a7e2b5fc25e18bd967105e46eec0e4c84" }, "downloads": -1, "filename": "pytest-csv-1.1.1.tar.gz", "has_sig": false, "md5_digest": "f9b0079aa082b6e53305f870184cc1bb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21118, "upload_time": "2018-03-31T16:33:16", "url": "https://files.pythonhosted.org/packages/0a/8c/80a47e77c45bf49548bbd11627a5146b92844abcb8f3156126e1b04e9a00/pytest-csv-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "e065d838ce24575d7f6d5fac299493eb", "sha256": "95aa1071e9f01b53a129a946f043584f240ca21692ffba9e65e63f6ceb23df62" }, "downloads": -1, "filename": "pytest_csv-1.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e065d838ce24575d7f6d5fac299493eb", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13338, "upload_time": "2018-09-06T20:34:09", "url": "https://files.pythonhosted.org/packages/07/71/5009a6d305fe19bce7f830bc5fdabc21c221d6f66a23ff44486fe32ff4e6/pytest_csv-1.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bcf198528b69aec751c2b500a8994008", "sha256": "96cc7cef5b978a13811413fee3f002005dcc4a5aee10481f94bdaafc5a297b24" }, "downloads": -1, "filename": "pytest-csv-1.1.2.tar.gz", "has_sig": false, "md5_digest": "bcf198528b69aec751c2b500a8994008", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21168, "upload_time": "2018-09-06T20:34:10", "url": "https://files.pythonhosted.org/packages/df/69/0e8837f352ad2fbfc80d61fe4ced31117f26d850efa1e1a78701c619ae26/pytest-csv-1.1.2.tar.gz" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "88d02aa39f4d33f80fbe797e2cdbac45", "sha256": "8a8a7e8cfa4307f59999c49b2f1c8135e6c6419e339dec2ab52e679fb5c4bf1d" }, "downloads": -1, "filename": "pytest_csv-2.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "88d02aa39f4d33f80fbe797e2cdbac45", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 25837, "upload_time": "2018-10-27T17:31:45", "url": "https://files.pythonhosted.org/packages/cb/bb/1b4c047397b29c181839057717e289aaf50e16edf5fb47e469191ebbc4f1/pytest_csv-2.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "af78a1e5ce7e491fbe3ca39bbac5300b", "sha256": "cdec25bc07e083447567160d721bcb2d837a7a725d28176a81e8fd2d9bdf1cff" }, "downloads": -1, "filename": "pytest-csv-2.0.0.tar.gz", "has_sig": false, "md5_digest": "af78a1e5ce7e491fbe3ca39bbac5300b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21347, "upload_time": "2018-10-27T17:31:47", "url": "https://files.pythonhosted.org/packages/04/51/87ae8b24d46e540987360cb93b013c30e7323dd5186d0d2e35290f91b79b/pytest-csv-2.0.0.tar.gz" } ], "2.0.1": [ { "comment_text": "", "digests": { "md5": "983bb5f919bea12ebcf81b33d39e2a4a", "sha256": "7c1f2bd9b2a0754178b88ab8ee956bfce5a6036ecc891388cdd36f7caf6afb1d" }, "downloads": -1, "filename": "pytest_csv-2.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "983bb5f919bea12ebcf81b33d39e2a4a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 25841, "upload_time": "2018-11-15T20:02:17", "url": "https://files.pythonhosted.org/packages/6f/d6/392ea5086461d896860bd489b11cdea853d4e20ec0d36d826c1c266eb72b/pytest_csv-2.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5209dec4ab71fdd94ab99eb27ae53698", "sha256": "fdc8c669ef8b6225e93836b03d9955c28f4b401da323073f446500847adc31b0" }, "downloads": -1, "filename": "pytest-csv-2.0.1.tar.gz", "has_sig": false, "md5_digest": "5209dec4ab71fdd94ab99eb27ae53698", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21359, "upload_time": "2018-11-15T20:02:19", "url": "https://files.pythonhosted.org/packages/02/40/0bc2a8d29ed34ad27f79d2b4a7dbcf1856c0ed40c291e55e7f1c23c43851/pytest-csv-2.0.1.tar.gz" } ], "2.0.2": [ { "comment_text": "", "digests": { "md5": "298c4f42787dba84102daf4c406d2aa3", "sha256": "6abf8934aa7cfe2164f2704aaffc23d5ddc34d78d79f56fc5e7fa0b03b30f681" }, "downloads": -1, "filename": "pytest_csv-2.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "298c4f42787dba84102daf4c406d2aa3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 26256, "upload_time": "2019-06-24T17:31:48", "url": "https://files.pythonhosted.org/packages/17/1f/74cc8ae9d0927ffe8bf28637868a5103b6a0d686ab046108aadc752f46a8/pytest_csv-2.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d442956201df1234bfd8670a43caddb3", "sha256": "2bbe266f1860354c8878bde6d990bd925743df189dbfd1705db17689a21430bf" }, "downloads": -1, "filename": "pytest-csv-2.0.2.tar.gz", "has_sig": false, "md5_digest": "d442956201df1234bfd8670a43caddb3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21197, "upload_time": "2019-06-24T17:31:49", "url": "https://files.pythonhosted.org/packages/5e/3a/3b53ce04c260f1102c9615408784bc0ad2d95cdb3f7a827bfec11f40d21c/pytest-csv-2.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "298c4f42787dba84102daf4c406d2aa3", "sha256": "6abf8934aa7cfe2164f2704aaffc23d5ddc34d78d79f56fc5e7fa0b03b30f681" }, "downloads": -1, "filename": "pytest_csv-2.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "298c4f42787dba84102daf4c406d2aa3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 26256, "upload_time": "2019-06-24T17:31:48", "url": "https://files.pythonhosted.org/packages/17/1f/74cc8ae9d0927ffe8bf28637868a5103b6a0d686ab046108aadc752f46a8/pytest_csv-2.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d442956201df1234bfd8670a43caddb3", "sha256": "2bbe266f1860354c8878bde6d990bd925743df189dbfd1705db17689a21430bf" }, "downloads": -1, "filename": "pytest-csv-2.0.2.tar.gz", "has_sig": false, "md5_digest": "d442956201df1234bfd8670a43caddb3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21197, "upload_time": "2019-06-24T17:31:49", "url": "https://files.pythonhosted.org/packages/5e/3a/3b53ce04c260f1102c9615408784bc0ad2d95cdb3f7a827bfec11f40d21c/pytest-csv-2.0.2.tar.gz" } ] }