Thanks for the rewrite and a revamped report in the pytest-html! I noticed that the collection errors are not reported as part of pytest-html v4 but they were reported till pytest-html==3.2.0 Reproducer: **test_sample.py** ``` import pytest raise ImportError("Non existent module") ``` Run: ``` pytest test_sample.py --html=~/tmp/generated_html.html ``` --- **pytest-html == 3.2.0**:  **pytest-html == 4.0.3rc0**:  --- Looking at the codebase, I can see that `pytest_collectreport` got missed out during the rewrite, so maybe adding that back should fix this.