Name | pytest-xhtml JSON |
Version |
0.1.1
JSON |
| download |
home_page | None |
Summary | pytest plugin for generating HTML reports |
upload_time | 2025-08-14 15:30:46 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.9 |
license | None |
keywords |
html
pytest
report
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
|
# pytest-xhtml
pytest-xhtml is a plugin for `pytest` that generates a HTML report for test results.
## install
```bash
$ pip install pytest-xhtml
```
## usage
* unit test
```bash
cd testing_unit
$ pytest test_selenium.py --html=report.html
```

* e2e test
```bash
# install selenium library
$ pip install selenium
$ cd testing_e2e
$ pytest test_selenium.py --html=report.html
```

* http test
```bash
# install pytest-req library
$ pip install pytest-req
$ cd testing_req
$ pytest test_req.py --html=report.html
```

## Develop
```bash
$ git clone https://github.com/seldomQA/pytest-xhtml.git
$ cd pytest-xhtml
$ pip install .
$ npm run build:css
```
Raw data
{
"_id": null,
"home_page": null,
"name": "pytest-xhtml",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "html, pytest, report",
"author": null,
"author_email": "Dave Hunt <dhunt@mozilla.com>, Jim Brannlund <jimbrannlund@fastmail.com>",
"download_url": "https://files.pythonhosted.org/packages/e9/85/4e2ac10786c5152ca2aa6a9740fad0b4049b914736e05041b45004c5ba25/pytest_xhtml-0.1.1.tar.gz",
"platform": null,
"description": "# pytest-xhtml\n\npytest-xhtml is a plugin for `pytest` that generates a HTML report for test results.\n\n## install\n\n```bash\n$ pip install pytest-xhtml\n```\n\n## usage\n\n* unit test\n\n```bash\ncd testing_unit\n$ pytest test_selenium.py --html=report.html\n```\n\n\n* e2e test\n\n```bash\n# install selenium library\n$ pip install selenium\n\n$ cd testing_e2e\n$ pytest test_selenium.py --html=report.html\n```\n\n\n\n* http test\n\n```bash\n# install pytest-req library\n$ pip install pytest-req\n\n$ cd testing_req\n$ pytest test_req.py --html=report.html\n```\n\n\n## Develop\n\n```bash\n$ git clone https://github.com/seldomQA/pytest-xhtml.git\n$ cd pytest-xhtml\n$ pip install .\n\n$ npm run build:css\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "pytest plugin for generating HTML reports",
"version": "0.1.1",
"project_urls": {
"Homepage": "https://github.com/seldomqa/pytest-xhtml",
"Source": "https://github.com/seldomqa/pytest-xhtml",
"Tracker": "https://github.com/seldomqa/pytest-xhtml/issues"
},
"split_keywords": [
"html",
" pytest",
" report"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "f70c823b985c12ce22fcf3a9bc68947090eae2850a552a558b8bf3cf346a3ce5",
"md5": "8fbfe81a4fb8c00944c881c8ad70ca21",
"sha256": "a7f8d7b77c4651957cf335cfee3aaf291143cc204f5102e807d9ea34587d7489"
},
"downloads": -1,
"filename": "pytest_xhtml-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8fbfe81a4fb8c00944c881c8ad70ca21",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 28935,
"upload_time": "2025-08-14T15:30:44",
"upload_time_iso_8601": "2025-08-14T15:30:44.811686Z",
"url": "https://files.pythonhosted.org/packages/f7/0c/823b985c12ce22fcf3a9bc68947090eae2850a552a558b8bf3cf346a3ce5/pytest_xhtml-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "e9854e2ac10786c5152ca2aa6a9740fad0b4049b914736e05041b45004c5ba25",
"md5": "44ef4cf699507569d14a7054c4ab8d77",
"sha256": "e83357f573e7b068093fc9d5d2903d2e6e979e7427d56e9155acfe1cc3481f65"
},
"downloads": -1,
"filename": "pytest_xhtml-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "44ef4cf699507569d14a7054c4ab8d77",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 708299,
"upload_time": "2025-08-14T15:30:46",
"upload_time_iso_8601": "2025-08-14T15:30:46.630671Z",
"url": "https://files.pythonhosted.org/packages/e9/85/4e2ac10786c5152ca2aa6a9740fad0b4049b914736e05041b45004c5ba25/pytest_xhtml-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-14 15:30:46",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "seldomqa",
"github_project": "pytest-xhtml",
"travis_ci": false,
"coveralls": true,
"github_actions": false,
"lcname": "pytest-xhtml"
}