pytest-html icon indicating copy to clipboard operation
pytest-html copied to clipboard

Plugin for generating HTML reports for pytest results

Results 218 pytest-html issues
Sort by recently updated
recently updated
newest added
trafficstars

![MicrosoftTeams-image (8)](https://github.com/pytest-dev/pytest-html/assets/112387382/3d4a0df5-03ad-41ee-bdf3-678e41a004d1)

needs more info

```py import logging logger = logging.getLogger(__name__) logger.setLevel(logging.DEBUG) seq_num = 0 def seq(): global seq_num seq_num += 1 return seq_num def test_fail(): logger.info(f'Test log {seq()}') assert False ``` pytest --reruns 1...

``` Traceback (most recent call last): File "/usr/local/lib/python3.11/dist-packages/_pytest/main.py", line 271, in wrap_session session.exitstatus = doit(config, session) or 0 ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/_pytest/main.py", line 325, in _main config.hook.pytest_runtestloop(session=session) File "/usr/local/lib/python3.11/dist-packages/pluggy/_hooks.py", line 493,...

With the update to 4.1.1 the sorting of our custom columns stopped working. First of all, the "sorting" only happens when I click on the header twice (which is not...

Adds 'legacy-style' type annotations to file `basereport.py`. This is for backwards compatibility with older version of Python

code quality
python

Is it possible to place the Expand/Collapse to the left in the test output log section ? The reason for that is that when the test outputs very long strings...

Hi I have seen index.jinja2 which i can modify and see results in report but I want to create new jinja2 template which i want to use same way like...

Hi there, Currently porting my project to using the new pytest-html v4.x version. I noticed that images (haven't tried any other of the extra types yet) are now put in...

I added a time column as explained in the user documentation but this adds the end timestamp. The following seems to achieve more what I want. Some feedback would be...

Add a new "--split-by" option that allows to split report per user-specified keys. This is close to what was described in #33 (I think), but gives the user the flexibility...

feature