pytest-html
pytest-html copied to clipboard
Plugin for generating HTML reports for pytest results
## What this? This PR resolves #501 . ## Related PR #502 is the same solution. But the unit test `test_report_display_utf8` is fails. So, I also change the unit test...
Hi, I'm using `conftest.py` and parametrized tests, see my `conftest.py` ``` def pytest_generate_tests(metafunc): idlist = [] argvalues = [] for scenario in metafunc.cls.scenarios: idlist.append(scenario[0]) items = scenario[1].items() argnames = [x[0]...
This PR makes the "duration" column *numerically* sortable, such that, e.g., "2.0" appears *before* "100.0" and not after as in an alphabetic sort. I consider this very important to track...
Is there a way to disable html escaping to display custom logs directly from `logging.info()` Example: ```python def test_abcd(f1): assert 3 > 1, "always passes" logging.info("Custom div text") ``` it...
We run two containers in one pod. One container runs a bash script that checks the existence of the report.html then shuts the pods down after uploading the html file...
updates: - [github.com/psf/black: 24.1.1 → 24.10.0](https://github.com/psf/black/compare/24.1.1...24.10.0) - [github.com/asottile/blacken-docs: 1.16.0 → 1.19.0](https://github.com/asottile/blacken-docs/compare/1.16.0...1.19.0) - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v5.0.0) - [github.com/PyCQA/flake8: 7.0.0 → 7.1.1](https://github.com/PyCQA/flake8/compare/7.0.0...7.1.1) - [github.com/asottile/reorder-python-imports: v3.12.0 → v3.14.0](https://github.com/asottile/reorder-python-imports/compare/v3.12.0...v3.14.0) - [github.com/asottile/pyupgrade: v3.15.0 →...
**issue:** [pytest-html v4.1.1]"Failed to read the 'sessionStorage' property from 'Window': The document is sandboxed and lacks the 'allow-same-origin' flag" DOMException raised when accessing the report from nexus storage **steps to...
pytest html file in a Chinese path, there ate some error in pure english path:  path has some Chinese 
### Discussed in https://github.com/pytest-dev/pytest-html/discussions/793 Originally posted by **bhawna0612** January 19, 2024 Hi I upgraded pytest-html version from v3.2.0 to v4.1.1 and I am showing only failed tests in the table....
Unless I'm missing something the user guide docs only discuss additional/advanced options, but just the basic usage and behavior is not documented. This PR is attempt to improve that