--- id: pytest-reporter-html1 version: "0.9.5" license: MIT license_treatment: permissive maintenance: active --- # pytest-reporter-html1 — A basic HTML report template for Pytest License: permissive · Maintenance: active · Downloads: 180.2K/mo ## What it is and what it does pytest-reporter-html1 is a Jinja2-based HTML report template for pytest that transforms test execution data into a structured, interactive HTML document. It builds on pytest-reporter to provide the underlying test data, then renders it through customizable templates with support for expandable sections, test metadata, markers, and fixtures. The report can be generated as a single self-contained file or split into separate CSS, JavaScript, and image assets. The package is designed for developers who want readable, shareable test reports without heavy dependencies or complex configuration. It includes built-in filters for converting ANSI color codes to HTML, formatting timestamps, and rendering reStructuredText documentation. The template structure allows inheritance and customization, making it suitable both as a standalone reporting tool and as a foundation for project-specific report designs. It complies with Jenkins default Content Security Policy when using the split-report option. Use it for: - Generate HTML test reports in CI/CD pipelines that comply with Jenkins CSP policies using --split-report. - Create customized test report templates by inheriting from html1/index.html and overriding specific blocks. - Display test metadata, markers, and fixtures alongside pass/fail results in a mobile-friendly format. - Embed ANSI-colored test output and reStructuredText documentation in self-contained HTML reports. - Share test results as standalone HTML files without requiring additional web server or dependencies. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Generates self-contained or modular HTML test reports for pytest, using Jinja2 templates to display test results, phases, documentation, markers, and fixtures with expandable sections. Yes. The package is actively maintained, has no known vulnerabilities, and low install friction. It solves a concrete problem—generating readable HTML test reports—with a permissive MIT license and a clean template-based design that supports both out-of-the-box use and customization. Suitable for teams needing Jenkins-compatible or mobile-friendly test reporting. ## Install pip install pytest-reporter-html1 uv add pytest-reporter-html1 poetry add pytest-reporter-html1 ## Installing pytest-reporter-html1 Before you install: Low friction install with 5 runtime dependencies; actively maintained as of March 2026 with no known vulnerabilities. License in practice: MIT license permits unrestricted use, modification, and distribution in both open and closed projects. Quickstart: pip install pytest-reporter-html1 pytest --template=html1/index.html --report=report.html Requires Python 3.10 or later; pytest-reporter must be available as a runtime dependency. Verify before relying: - Whether the package works with pytest-metadata and pytest-rerunfailures without additional configuration. - Performance characteristics when generating reports for large test suites. - Mobile-friendly rendering quality on various screen sizes and browsers. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 180.2K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags pytest html report generator, test report template jinja2, pytest html output formatter, test results html dashboard, pytest report customization, jenkins compatible test reports, pytest test summary html, pytest-plugin, test-reporting, html-templates [View on SkillFed](https://skillfed.io/packages/pytest-reporter-html1) · [View on PyPI](https://pypi.org/project/pytest-reporter-html1/)