pytest-excel


Namepytest-excel JSON
Version 1.8.0 PyPI version JSON
download
home_pageNone
Summarypytest plugin for generating excel reports
upload_time2025-07-17 16:07:24
maintainerNone
docs_urlNone
authorNone
requires_python>=3.11
licenseNone
keywords excel pytest report
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            pytest-excel
================


pytest-excel is a plugin for `py.test <http://pytest.org>`_ that allows to 
to create excel report for test results.


Requirements
------------


You will need the following prerequisites in order to use pytest-excel:

- Python 3.11 and above
- pytest
- pandas
- openpyxl


Installation
------------


To install pytest-excel and required dependencies::

    $ pip install pytest-excel openpyxl

Then run your tests with::

    $ py.test --excelreport=report.xls

If you would like more detailed output (one test per line), then you may use the verbose option::

    $ py.test --verbose

If you would like to run tests without execution to collect test doc string::

    $ py.test --excelreport=report.xls --collect-only


If you would like to get timestamp in the as filename::

    $ py.test --excelreport=report%Y-%M-dT%H%.xls

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pytest-excel",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.11",
    "maintainer_email": null,
    "keywords": "excel, pytest, report",
    "author": null,
    "author_email": "santosh <santosh.srikanta@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/5a/cb/091cc35416b3f9f81cf65951833da11b2216471789f3cf88f1a288fe407d/pytest_excel-1.8.0.tar.gz",
    "platform": null,
    "description": "pytest-excel\n================\n\n\npytest-excel is a plugin for `py.test <http://pytest.org>`_ that allows to \nto create excel report for test results.\n\n\nRequirements\n------------\n\n\nYou will need the following prerequisites in order to use pytest-excel:\n\n- Python 3.11 and above\n- pytest\n- pandas\n- openpyxl\n\n\nInstallation\n------------\n\n\nTo install pytest-excel and required dependencies::\n\n    $ pip install pytest-excel openpyxl\n\nThen run your tests with::\n\n    $ py.test --excelreport=report.xls\n\nIf you would like more detailed output (one test per line), then you may use the verbose option::\n\n    $ py.test --verbose\n\nIf you would like to run tests without execution to collect test doc string::\n\n    $ py.test --excelreport=report.xls --collect-only\n\n\nIf you would like to get timestamp in the as filename::\n\n    $ py.test --excelreport=report%Y-%M-dT%H%.xls\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "pytest plugin for generating excel reports",
    "version": "1.8.0",
    "project_urls": {
        "Homepage": "https://github.com/ssrikanta/pytest-excel",
        "Source": "https://github.com/ssrikanta/pytest-excel",
        "Tracker": "https://github.com/ssrikanta/pytest-excel/issues"
    },
    "split_keywords": [
        "excel",
        " pytest",
        " report"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "9bcc22bd09587e24a22f708335fa1f29e04655c24258e589b6827a78730683df",
                "md5": "7720ac8bea3c7cbfed50fa0561208c00",
                "sha256": "77f59e3bcc8dbbf0bbae047a1352f9869f77d52b9319f991bf17848eb9896eb7"
            },
            "downloads": -1,
            "filename": "pytest_excel-1.8.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7720ac8bea3c7cbfed50fa0561208c00",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11",
            "size": 4385,
            "upload_time": "2025-07-17T16:07:23",
            "upload_time_iso_8601": "2025-07-17T16:07:23.455091Z",
            "url": "https://files.pythonhosted.org/packages/9b/cc/22bd09587e24a22f708335fa1f29e04655c24258e589b6827a78730683df/pytest_excel-1.8.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "5acb091cc35416b3f9f81cf65951833da11b2216471789f3cf88f1a288fe407d",
                "md5": "a8f4561702502fb1f45f96f5be151055",
                "sha256": "28eb55a8c394030bd514c1e58a98a086f56413527456d847625eebc4e01bedab"
            },
            "downloads": -1,
            "filename": "pytest_excel-1.8.0.tar.gz",
            "has_sig": false,
            "md5_digest": "a8f4561702502fb1f45f96f5be151055",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11",
            "size": 7206,
            "upload_time": "2025-07-17T16:07:24",
            "upload_time_iso_8601": "2025-07-17T16:07:24.888240Z",
            "url": "https://files.pythonhosted.org/packages/5a/cb/091cc35416b3f9f81cf65951833da11b2216471789f3cf88f1a288fe407d/pytest_excel-1.8.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-17 16:07:24",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ssrikanta",
    "github_project": "pytest-excel",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "tox": true,
    "lcname": "pytest-excel"
}
        
Elapsed time: 1.59186s