freshcrate
Home > Frameworks > pytest-html

pytest-html

pytest plugin for generating HTML reports

Description

pytest-html =========== pytest-html is a plugin for `pytest <http://pytest.org>`_ that generates a HTML report for test results. .. image:: https://img.shields.io/badge/license-MPL%202.0-blue.svg :target: https://github.com/pytest-dev/pytest-html/blob/master/LICENSE :alt: License .. image:: https://img.shields.io/pypi/v/pytest-html.svg :target: https://pypi.python.org/pypi/pytest-html/ :alt: PyPI .. image:: https://img.shields.io/conda/vn/conda-forge/pytest-html.svg :target: https://anaconda.org/conda-forge/pytest-html :alt: Conda Forge .. image:: https://github.com/pytest-dev/pytest-html/workflows/gh/badge.svg :target: https://github.com/pytest-dev/pytest-html/actions :alt: CI .. image:: https://img.shields.io/requires/github/pytest-dev/pytest-html.svg :target: https://requires.io/github/pytest-dev/pytest-html/requirements/?branch=master :alt: Requirements .. image:: https://codecov.io/gh/pytest-dev/pytest-html/branch/master/graph/badge.svg?token=Y0myNKkdbi :target: https://codecov.io/gh/pytest-dev/pytest-html :alt: Codecov Resources --------- - `Documentation <https://pytest-html.readthedocs.io/en/latest/>`_ - `Release Notes <https://pytest-html.readthedocs.io/en/latest/changelog.html>`_ - `Issue Tracker <http://github.com/pytest-dev/pytest-html/issues>`_ - `Code <http://github.com/pytest-dev/pytest-html/>`_ Contributing ------------ We welcome contributions. To learn more, see `Development <https://pytest-html.readthedocs.io/en/latest/development.html>`_ Screenshots ----------- .. image:: https://cloud.githubusercontent.com/assets/122800/11952194/62daa964-a88e-11e5-9745-2aa5b714c8bb.png :target: https://cloud.githubusercontent.com/assets/122800/11951695/f371b926-a88a-11e5-91c2-499166776bd3.png :alt: Enhanced HTML report

Release History

VersionChangesUrgencyDate
4.2.0Imported from PyPI (4.2.0)Low4/21/2026
4.1.1## Changes * fix: Latest eslint is broken (#769) @BeyondEvil * fix: original sort order (#768) @BeyondEvil * [pre-commit.ci] pre-commit autoupdate (#763) @pre-commit-ci Low11/7/2023
4.1.0## Changes * Release v4.1.0 (#761) @BeyondEvil * fix: Escaping HTML in log (#757) @BeyondEvil * test: Add UTF8 test (#760) @BeyondEvil * [pre-commit.ci] pre-commit autoupdate (#563) @pre-commit-ci * fix: Only run npm when building from source (#758) @BeyondEvil * Fix results table modification documentation (#749) @michalkaptur * fix: Add collections errors to report (#756) @BeyondEvil * fix: Revert report generation to full run (#754) @BeyondEvil * fix: Broken duration (#753) @BeyondLow11/4/2023
4.0.2## Changes * Fix: Use absolute path for the report (#735) @adrien-berchet Low9/14/2023
4.0.1## Changes * fix: Incorrect label for xfailed (#733) @BeyondEvil * chore: block commits to master (#734) @BeyondEvil Low9/10/2023
4.0.0## Changes * Release v4.0.0 (#725) @BeyondEvil * Feat: Add duration format hook (#724) @BeyondEvil * Chore: Drop support for python 3.7 (#723) @BeyondEvil * Add expander to log output (#721) @drRedflint * Fix: Broken sorting for custom columns (#715) @BeyondEvil * Chore: Stop running scheduled tests on forks (#720) @BeyondEvil * Chore: Fix tox (#718) @BeyondEvil * use max height instead of fixed height (#706) @drRedflint * if only one item in gallery, remove navigation (#705) @drRedflLow9/1/2023
v3.2.0## Changes * Revert "Rename master branch to main" (#562) @BeyondEvil * Release v3.2.0 (#556) @BeyondEvil * Add py as dependency (#555) @smartEBL * pip isn't a build dependency (#516) @rossburton * Migrate to precommit.ci (#487) @BeyondEvil * Use the tests reusable workflow (#486) @BeyondEvil ## Minor Changes * Allow for redacting of environment table values (#431) @gnikonorov * Implement the visible URL query parameter to control visibility of test results on page load. (#433) @gLow11/11/2022
v3.1.1- Fix issue with reporting of missing CSS files. (https://github.com/pytest-dev/pytest-html/issues/388)Low7/4/2022
v3.1.0- Stop attaching test reruns to final test report entries (https://github.com/pytest-dev/pytest-html/issues/374) - Allow for report duration formatting (https://github.com/pytest-dev/pytest-html/issues/376) Low7/4/2022
v3.0.0- Respect --capture=no, --show-capture=no, and -s pytest flags (https://github.com/pytest-dev/pytest-html/issues/171) - Make the Results table Links column sortable (https://github.com/pytest-dev/pytest-html/issues/242) - Fix issue with missing image or video in extras. (https://github.com/pytest-dev/pytest-html/issues/265 and https://github.com/pytest-dev/pytest-selenium/issues/237) [@christiansandberg](https://github.com/christiansandberg) and [@superdodd](https://github.com/superdodd) and Low7/4/2022
v3.0.0a0Changed below are not curated yet and is machine generated. Look at https://github.com/pytest-dev/pytest-html/blob/master/CHANGES.rst for human curated changelist. ## Changes * Prep version 3.0.0 for release (#362) @gnikonorov ## Major Changes * Stop shadowing the 'format' builtin (#347) @gnikonorov * Drop support for legacy Python 2.7 (#230) @hugovk ## Minor Changes * Add support for py39 (#345) @ssbarnea * Enable py38 testing (#326) @ssbarnea * Strip ANSI escape sequences Low11/12/2020

Dependencies & License Audit

Loading dependencies...

Similar Packages

schemathesisProperty-based testing framework for Open API and GraphQL based apps4.15.2
pytest-subtestsunittest subTest() support and subtests fixture0.15.0
seleniumbaseA complete web automation framework for end-to-end testing.4.48.2
pytest-recordingA pytest plugin powered by VCR.py to record and replay HTTP traffic0.13.4
doclingSDK and CLI for parsing PDF, DOCX, HTML, and more, to a unified document representation for powering downstream workflows such as gen AI applications.2.90.0