Name | pytest-richtrace JSON |
Version |
0.2.1
JSON |
| download |
home_page | |
Summary | A pytest plugin that displays the names and information of the pytest hook functions as they are executed. |
upload_time | 2023-06-20 19:20:12 |
maintainer | |
docs_url | None |
author | Simon Kennedy |
requires_python | >=3.11,<4.0 |
license | Apache-2.0 |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# pytest-richtrace
A pytest plugin that dumps the stages of the pytest testing process to the terminal.
It uses `rich` to add formatting to the output.
## Installation
Install using pip
```shell
pip install pytest_richtrace
```
## Usage
To activate the plugin add the `--rich-trace` option to the `pytest` command line.
## Sample output
### Full test run
#### Quiet output
```shell
pytest --rich-trace -q
```
<img src="https://github.com/sffjunkie/pytest-richtrace/raw/main/docs/quickstart/output-quiet.svg" width="700px" alt="quiet output">
#### Normal output
```shell
pytest --rich-trace
```
<img src="https://github.com/sffjunkie/pytest-richtrace/raw/main/docs/quickstart/output.svg" width="700px" alt="normal output">
### Verbose output
```shell
pytest --rich-trace --verbose
```
<img src="https://github.com/sffjunkie/pytest-richtrace/raw/main/docs/quickstart/output-verbose.svg" width="700px" alt="verbose output">
### --collect-only output
```shell
pytest --rich-trace --collect-only
```
<img src="https://github.com/sffjunkie/pytest-richtrace/raw/main/docs/quickstart/output-collect-only.svg" width="700px" alt="--collect-only output">
Raw data
{
"_id": null,
"home_page": "",
"name": "pytest-richtrace",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.11,<4.0",
"maintainer_email": "",
"keywords": "",
"author": "Simon Kennedy",
"author_email": "sffjunkie+code@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/08/35/6ebf113b56d49109e276a29ee9c9ed0d7fc63bca1586186e907d99efc414/pytest_richtrace-0.2.1.tar.gz",
"platform": null,
"description": "# pytest-richtrace\n\nA pytest plugin that dumps the stages of the pytest testing process to the terminal.\n\nIt uses `rich` to add formatting to the output.\n\n## Installation\n\nInstall using pip\n\n```shell\npip install pytest_richtrace\n```\n\n## Usage\n\nTo activate the plugin add the `--rich-trace` option to the `pytest` command line.\n\n## Sample output\n\n### Full test run\n\n#### Quiet output\n\n```shell\npytest --rich-trace -q\n```\n\n<img src=\"https://github.com/sffjunkie/pytest-richtrace/raw/main/docs/quickstart/output-quiet.svg\" width=\"700px\" alt=\"quiet output\">\n\n#### Normal output\n\n```shell\npytest --rich-trace\n```\n\n<img src=\"https://github.com/sffjunkie/pytest-richtrace/raw/main/docs/quickstart/output.svg\" width=\"700px\" alt=\"normal output\">\n\n### Verbose output\n\n```shell\npytest --rich-trace --verbose\n```\n\n<img src=\"https://github.com/sffjunkie/pytest-richtrace/raw/main/docs/quickstart/output-verbose.svg\" width=\"700px\" alt=\"verbose output\">\n\n### --collect-only output\n\n```shell\npytest --rich-trace --collect-only\n```\n\n<img src=\"https://github.com/sffjunkie/pytest-richtrace/raw/main/docs/quickstart/output-collect-only.svg\" width=\"700px\" alt=\"--collect-only output\">\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "A pytest plugin that displays the names and information of the pytest hook functions as they are executed.",
"version": "0.2.1",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d4f4008ac38427f823cf5e52211a64f7e45d5bcbf72db87506d696a4226a8ce5",
"md5": "992dec679361d47def7243f0612fd366",
"sha256": "12ebfce6b26c68ffdd4533153b78855ea5828f14f14f5b2cc00160b0ea240cde"
},
"downloads": -1,
"filename": "pytest_richtrace-0.2.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "992dec679361d47def7243f0612fd366",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11,<4.0",
"size": 17555,
"upload_time": "2023-06-20T19:20:11",
"upload_time_iso_8601": "2023-06-20T19:20:11.218955Z",
"url": "https://files.pythonhosted.org/packages/d4/f4/008ac38427f823cf5e52211a64f7e45d5bcbf72db87506d696a4226a8ce5/pytest_richtrace-0.2.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "08356ebf113b56d49109e276a29ee9c9ed0d7fc63bca1586186e907d99efc414",
"md5": "9ce2629160659cf368d6ff6c639918b1",
"sha256": "4fc6c8c4848e53d5de9cb30408fb8a7ccb7c1ab3a79982d7f7c6c555d80b8b63"
},
"downloads": -1,
"filename": "pytest_richtrace-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "9ce2629160659cf368d6ff6c639918b1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11,<4.0",
"size": 14297,
"upload_time": "2023-06-20T19:20:12",
"upload_time_iso_8601": "2023-06-20T19:20:12.860002Z",
"url": "https://files.pythonhosted.org/packages/08/35/6ebf113b56d49109e276a29ee9c9ed0d7fc63bca1586186e907d99efc414/pytest_richtrace-0.2.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-20 19:20:12",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "pytest-richtrace"
}