Pytest-report-extras

Latest version: v1.3.2

Safety actively analyzes 722460 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.3.2

=====

**Features**

* The ``extras_screenshots`` INI option can also accept ``fail`` or ``none`` value.
* Support for attachments of mime type: ``audio/mpeg`` and ``audio/ogg``.
* New ``extras_title`` INI option to customize the test report title.

**Changes**

* Deprecated code has been removed.
* The plugin requires python version 3.11 or later.

1.3.1

=====

**Features**

* Support for attachments of mime type: ``image/svg+xml``, ``video/mp4``, ``video/ogg`` and ``video/webm``.
* Mime types of attachments can also be set with file extensions.
* Introduction of new ``Report.Mime`` shorter attributes for mime types. The long old ones will be deprecated in the next major release.

**Improvement**

* Error-handling improvements.

**Change**

* Screenshot and webpage source files are named using a uuid generator.

1.3.0

=====

**Feature**

* New INI options to define link patterns for issues and test-cases and new decorators to add links to the report.

**Improvements**

* A default CSS style sheet is automatically added if ``--css`` option is not provided.
* Usage errors are logged in the standard error stream (stderr).
* Test parameters via the ``pytest.mark.parametrize`` decorator are added to the report.

**Changes**

* The ``report.link`` method will be deprecated in the next major release.
* The ``report.step`` deprecated method has been removed.

1.2.2

=====

**Feature**

* Limited support for the ``--self-contained-html`` option of the **pytest-html** plugin.

1.2.1

=====

**Feature**

* Support for attachments of mime type: ``image/bmp``, ``image/gif``, ``image/jpeg``, ``image/png`` and ``image/svg+xml``

**Bug fixes**

* The plugin was still making calls to deprecated code.
* Better handling of attachments with other mime types (ex: ``application/pdf``).

1.2.0

=====

**Features**

* Posibility to add links to the tests report.
* New INI option to customize the indentation of XML, JSON and YAML attachments.
* Support for attachments of mime type: ``text/csv``, ``text/html`` and ``text/uri-list``

**Change**

* Modification of the algorithm related to attachments. The ``report.step`` method is going to be deprecated.

Page 1 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.