{ "info": { "author": "Wayne Hong", "author_email": "hdw868@126.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 :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Quality Assurance", "Topic :: Software Development :: Testing", "Topic :: Utilities" ], "description": "# pytest-aggreport\n\n[![PyPI version](https://img.shields.io/pypi/v/pytest-aggreport.svg)](https://pypi.org/project/pytest-aggreport) [![Python versions](https://img.shields.io/pypi/pyversions/pytest-aggreport.svg)](https://pypi.org/project/pytest-aggreport) [![See Build Status on Travis CI](https://travis-ci.org/hdw868/pytest-aggreport.svg?branch=master)](https://travis-ci.org/hdw868/pytest-aggreport)\n\nThis [pytest](https://github.com/pytest-dev/pytest) plugin was generated with [Cookiecutter](https://github.com/audreyr/cookiecutter) along with [@hackebrot](https://github.com/hackebrot)'s [cookiecutter-pytest-plugin](https://github.com/pytest-dev/cookiecutter-pytest-plugin) template.\n\n## Features\n\n - Generate aggregated test result group by test case name with details;\n - Embed test result into html report if pytest-html is available;\n\n## Requirements\n\n - python >= 3.6\n - pytest >= 4.3.1\n - beautifultable >= 0.7.0\n - pytest-repeat >= 0.8.0\n\n## Installation\n\nYou can install \"pytest-aggreport\" via [pip](https://pypi.org/project/pip/) from [PyPI](https://pypi.org/project):\n\n```bash\n$ pip install pytest-aggreport\n```\n\n## Usage\n\nPytest will automatically find the plugin and use it when you run pytest with `--count` argument (enable [pytest-repeat](https://github.com/pytest-dev/pytest-repeat) plugin). When test is done, you will see a summary report in the terminal:\n\n```bash\n$ pytest --count=5\n...\n------------------------- aggregate summary report -----------------\n+-------------+------+------+-------+--------+-------+-------+-------+---------+\n| TestCase Na | Pass | Fail | Skipp | Pass R | AVG ( | MAX ( | MIN ( | STDDEV |\n| me | ed | ed | ed | ate | s) | s) | s) | (s) |\n+-------------+------+------+-------+--------+-------+-------+-------+---------+\n| test_pass | 5 | 0 | 0 | 100.00 | 0.1 | 0.1 | 0.1 | 0.0 |\n| | | | | % | | | | |\n+-------------+------+------+-------+--------+-------+-------+-------+---------+\n| test_skip | 0 | 0 | 5 | 0.00% | 0.0 | 0.0 | 0.0 | 0.0 |\n+-------------+------+------+-------+--------+-------+-------+-------+---------+\n| test_fail | 0 | 5 | 0 | 0.00% | 0.15 | 0.15 | 0.15 | 0.0 |\n+-------------+------+------+-------+--------+-------+-------+-------+---------+\n| test_xpass | 5 | 0 | 0 | 100.00 | 0.1 | 0.1 | 0.1 | 0.0 |\n| | | | | % | | | | |\n+-------------+------+------+-------+--------+-------+-------+-------+---------+\n| test_xfail | 0 | 5 | 0 | 0.00% | 0.1 | 0.1 | 0.1 | 0.0 |\n+-------------+------+------+-------+--------+-------+-------+-------+---------+\n...\n```\n\nIf [pytest-html](https://github.com/pytest-dev/pytest-html) is enabled(run with `--html` argument), then a summary report will also be embedded in the html report:\n\n![html_report](docs/html_report.PNG)\n\nTo disable the plugin, you can use the `-p` argument, for example:\n\n```bash\n$ pytest -p no:aggreport\n```\n\n## Contributing\n\nContributions are very welcome. Tests can be run with [tox](https://tox.readthedocs.io/en/latest/), please ensure the coverage at least stays the same before you submit a pull request.\n\n## License\n\nDistributed under the terms of the [MIT](http://opensource.org/licenses/MIT) license, \"pytest-aggreport\" is free and open source software\n\n## Issues\n\nIf you encounter any problems, please [file an issue](https://github.com/hdw868/pytest-aggreport/issues) along with a detailed description.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/hdw868/pytest-aggreport", "keywords": "", "license": "MIT", "maintainer": "Wayne Hong", "maintainer_email": "hdw868@126.com", "name": "pytest-aggreport", "package_url": "https://pypi.org/project/pytest-aggreport/", "platform": "", "project_url": "https://pypi.org/project/pytest-aggreport/", "project_urls": { "Homepage": "https://github.com/hdw868/pytest-aggreport" }, "release_url": "https://pypi.org/project/pytest-aggreport/0.1.4/", "requires_dist": [ "pytest (>=4.3.1)", "beautifultable (>=0.7.0)", "py (>=1.8.0)", "pytest-repeat (>=0.8.0)" ], "requires_python": ">=3.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "summary": "pytest plugin for pytest-repeat that generate aggregate report of the same test cases with additional statistics details.", "version": "0.1.4" }, "last_serial": 5554950, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "0e48a3c05e0c9c12e442d32e1dad970b", "sha256": "1d31729bbd14bd85468584c8e96ace89646ecf2fad1a316ce704ee8deb2781d5" }, "downloads": -1, "filename": "pytest_aggreport-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "0e48a3c05e0c9c12e442d32e1dad970b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 6405, "upload_time": "2019-06-05T01:58:54", "url": "https://files.pythonhosted.org/packages/94/04/ea7cb474de7a327778e73592e8447aad30aa09c430d4ecc8c4929e5f3011/pytest_aggreport-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9e3b05e4c7272fd11df2b3f6c2e017d3", "sha256": "795928ccf79076b7a4605434375f85da169c07e69c135a2d4ce62e2058e10da3" }, "downloads": -1, "filename": "pytest-aggreport-0.1.1.tar.gz", "has_sig": false, "md5_digest": "9e3b05e4c7272fd11df2b3f6c2e017d3", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 5906, "upload_time": "2019-06-05T01:58:56", "url": "https://files.pythonhosted.org/packages/44/2e/2719dd51be4fbac7fab7cd9a6deb465679199fdef4bd502e90ad9cc032d9/pytest-aggreport-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "bb1cf031126d019874b68a1b644cd39c", "sha256": "cd5a03c4a58dc9b80fde3d7d547739383d710fbd624ced236c288a228d0d7f1e" }, "downloads": -1, "filename": "pytest_aggreport-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "bb1cf031126d019874b68a1b644cd39c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 6823, "upload_time": "2019-06-10T01:35:31", "url": "https://files.pythonhosted.org/packages/1c/0d/7e90fbfdb57951b4f0f044a13443ff75870ced98843446997b5670c40d23/pytest_aggreport-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "608f418ee6c8ccfd8e407d383b6b89c5", "sha256": "e2d054d708a29f404ec89ea60062ae20217d73deaa1b5643ef509fd42c84685d" }, "downloads": -1, "filename": "pytest-aggreport-0.1.2.tar.gz", "has_sig": false, "md5_digest": "608f418ee6c8ccfd8e407d383b6b89c5", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 6169, "upload_time": "2019-06-10T01:35:32", "url": "https://files.pythonhosted.org/packages/08/2d/9e39a7802ace40e65ba7a778d0c62685d250914a384b5e328b82e987946f/pytest-aggreport-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "15bf80b05e5bd44925c55dc295649a48", "sha256": "ac8bea2138c3b44ba18cd7067e7306c086ac4db480136a275fed1435696f42a1" }, "downloads": -1, "filename": "pytest_aggreport-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "15bf80b05e5bd44925c55dc295649a48", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 6987, "upload_time": "2019-07-17T07:05:46", "url": "https://files.pythonhosted.org/packages/7d/b3/042ab2ed64380caf18aef3588b5e6d6b7fce46258cba90c5efaa7830372d/pytest_aggreport-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4b620ca4cc3801314fc351400f6dce9c", "sha256": "8f251c7ce1873d268c4ecde7c66e62c4874bf5d54d344802a908d1d4716fd9e1" }, "downloads": -1, "filename": "pytest-aggreport-0.1.3.tar.gz", "has_sig": false, "md5_digest": "4b620ca4cc3801314fc351400f6dce9c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 6334, "upload_time": "2019-07-17T07:05:47", "url": "https://files.pythonhosted.org/packages/6a/a8/90399775f9952d97a7c87a0fbbde9d326fa5b2ad8a61b5bca541b9f04537/pytest-aggreport-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "93bd4e703e396401704944eb9d16f2a8", "sha256": "5ecc0be5980aa4335f6a9c4fcaa5d50386b6c06d6abb14faf751fb4ebb8e45a6" }, "downloads": -1, "filename": "pytest_aggreport-0.1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "93bd4e703e396401704944eb9d16f2a8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 6945, "upload_time": "2019-07-19T07:32:18", "url": "https://files.pythonhosted.org/packages/c0/5c/1b9911a640b642678da90ad2bee1f6a44f5d086a9ead54aea87ddb81a243/pytest_aggreport-0.1.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e54a57bf71a1c698d12d4e2c974efb14", "sha256": "1c07d53f2caec5618ca3d8e0a9a2ca5757540b139205f697330b854eef3de9b7" }, "downloads": -1, "filename": "pytest-aggreport-0.1.4.tar.gz", "has_sig": false, "md5_digest": "e54a57bf71a1c698d12d4e2c974efb14", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 6296, "upload_time": "2019-07-19T07:32:20", "url": "https://files.pythonhosted.org/packages/15/a9/9a32cfa07d12df36e607a89b394d25eb2a1f719e57dbac3580ed003cf673/pytest-aggreport-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "93bd4e703e396401704944eb9d16f2a8", "sha256": "5ecc0be5980aa4335f6a9c4fcaa5d50386b6c06d6abb14faf751fb4ebb8e45a6" }, "downloads": -1, "filename": "pytest_aggreport-0.1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "93bd4e703e396401704944eb9d16f2a8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 6945, "upload_time": "2019-07-19T07:32:18", "url": "https://files.pythonhosted.org/packages/c0/5c/1b9911a640b642678da90ad2bee1f6a44f5d086a9ead54aea87ddb81a243/pytest_aggreport-0.1.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e54a57bf71a1c698d12d4e2c974efb14", "sha256": "1c07d53f2caec5618ca3d8e0a9a2ca5757540b139205f697330b854eef3de9b7" }, "downloads": -1, "filename": "pytest-aggreport-0.1.4.tar.gz", "has_sig": false, "md5_digest": "e54a57bf71a1c698d12d4e2c974efb14", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 6296, "upload_time": "2019-07-19T07:32:20", "url": "https://files.pythonhosted.org/packages/15/a9/9a32cfa07d12df36e607a89b394d25eb2a1f719e57dbac3580ed003cf673/pytest-aggreport-0.1.4.tar.gz" } ] }