{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/6"}],"enrichment":{"capability":"Generates static HTML test reports from pytest test runs, with support for test history, screenshots on failure, and customizable report paths and titles.","skillfed_tags":["pytest-plugin","test-reporting","html-output"],"use_cases":["Generate shareable HTML test reports for CI/CD pipelines to track test execution history and trends over time.","Capture and embed screenshots in test reports when UI tests fail, for debugging and documentation.","Archive test results with customizable paths and filenames to organize reports by test suite or date.","Display test suite highlights and overview statistics in a single-page HTML report for stakeholder review.","Integrate with pytest.ini to standardize report generation across a team's test infrastructure."],"what_it_does":"pytest-html-reporter is a pytest plugin that generates static HTML reports from test execution results. It runs as a pytest command-line extension and produces a self-contained HTML file showing test outcomes, execution trends, suite highlights, and detailed test information. The plugin supports attaching screenshots on test failure (useful for UI testing with Selenium), test rerun tracking, and historical report archiving. It has no runtime dependencies and integrates directly into pytest's reporting pipeline via command-line flags or pytest.ini configuration.\n\nThe package is straightforward to use: install it, run pytest with `--html-report` to specify output location, and optionally add `--title` to customize the report heading. For screenshot capture, you import the `attach` function and call it with binary image data during test execution. The generated HTML is static and self-contained, suitable for sharing or archiving test results.","worth_installing":"Yes, with conditions. The package is lightweight, permissively licensed, and solves a real need for pytest users who want HTML reports. However, it has not been updated since 2022-02-13 and is marked as aging; before installing, verify that it works with your current pytest and Python versions. The lack of recent maintenance means unresolved issues may not be fixed."},"id":"pytest-html-reporter","links":{"html":"https://skillfed.io/packages/pytest-html-reporter","md":"https://skillfed.io/packages/pytest-html-reporter.md","pypi":"https://pypi.org/project/pytest-html-reporter/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2022-02-13","license_spdx":null,"license_treatment":"permissive","name":"pytest-html-reporter","python_support":"supports_current","summary":"Generates a static html report based on pytest framework"},"popularity":{"monthly_downloads":83731,"position":14052,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.2.9"}
