<p>pytest-metadata is described as a plugin for pytest that provides access to test session metadata. <br>That is such a humble description for such a massively useful plugin. <br>If you're already using pytest-html, you have pytest-metadata already installed, as pytest-metadata is one of the dependencies for pytest-html.<br>However, pytest-metadata is very useful even on its own.</p><p>Links:</p><ul><li><a href="https://pypi.org/project/pytest-metadata/">pytest-metadata</a> - The plugin we're talking about in this episode</li><li><a href="https://pypi.python.org/pypi/pytest-base-url/">pytest-base-url</a> - Adds the base URL to the metadata.</li><li><a href="https://pypi.python.org/pypi/pytest-html/">pytest-html</a> - Displays the metadata at the start of each report. <ul><li>See <a href="https://pythontest.com/testandcode/episodes/pytest-html">S2:E6: pytest-html - a plugin that generates HTML reports for test results</a></li></ul></li><li><a href="https://pypi.org/project/pytest-reporter-html1/">pytest-reporter-html1</a> - Presents metadata as part of the report.</li><li><a href="https://pypi.python.org/pypi/pytest-selenium/">pytest-selenium</a> - Adds the driver, capabilities, and remote server to the metadata.</li></ul><p>If you've got other plugins that work well with pytest-metadata, please <a href="https://pythontest.com/contact/">let me know</a>.</p>
<br><p><br></p><p><br></p>

Test & Code

Brian Okken

234: pytest-metadata - provides access to test session metadata

MAY 7, 20256 MIN
Test & Code

234: pytest-metadata - provides access to test session metadata

MAY 7, 20256 MIN

Description

pytest-metadata is described as a plugin for pytest that provides access to test session metadata. 
That is such a humble description for such a massively useful plugin. 
If you're already using pytest-html, you have pytest-metadata already installed, as pytest-metadata is one of the dependencies for pytest-html.
However, pytest-metadata is very useful even on its own.

Links:

If you've got other plugins that work well with pytest-metadata, please let me know.