Test & Code

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


Listen Later

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:

  • pytest-metadata - The plugin we're talking about in this episode
  • pytest-base-url - Adds the base URL to the metadata.
  • pytest-html - Displays the metadata at the start of each report. 
    • See S2:E6: pytest-html - a plugin that generates HTML reports for test results
  • pytest-reporter-html1 - Presents metadata as part of the report.
  • pytest-selenium - Adds the driver, capabilities, and remote server to the metadata.

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




...more
View all episodesView all episodes
Download on the App Store

Test & CodeBy Brian Okken

  • 4.7
  • 4.7
  • 4.7
  • 4.7
  • 4.7

4.7

70 ratings


More shows like Test & Code

View all
Radiolab by WNYC Studios

Radiolab

43,851 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

625 Listeners

Heavy Networking by Packet Pushers

Heavy Networking

327 Listeners

Talk Python To Me by Michael Kennedy

Talk Python To Me

584 Listeners

Python Bytes by Michael Kennedy and Brian Okken

Python Bytes

215 Listeners

Darknet Diaries by Jack Rhysider

Darknet Diaries

8,049 Listeners

The Real Python Podcast by Real Python

The Real Python Podcast

143 Listeners

Unexplainable by Vox

Unexplainable

2,303 Listeners

Network Automation Nerds by Packet Pushers

Network Automation Nerds

3 Listeners