Discover this podcast and so much more

Podcasts are free to enjoy without a subscription. We also offer ebooks, audiobooks, and so much more for just $11.99/month.

143: pytest markers - Anthony Sottile

143: pytest markers - Anthony Sottile

FromTest and Code


143: pytest markers - Anthony Sottile

FromTest and Code

ratings:
Length:
40 minutes
Released:
Feb 7, 2021
Format:
Podcast episode

Description

Completely nerding out about pytest markers with Anthony Sottile.
Some of what we talk about:
Running a subset of tests with markers.
Using marker expressions with and, or, not, and parentheses.
Keyword expressions also can use and, or, not, and parentheses.
Markers and pytest functionality that use mark, such as parametrize, skipif, etc.
Accessing markers with itermarkers and get_closest_marker through item.
Passing values, metadata through markers to fixtures or hook functions.
Special Guest: Anthony Sottile.
Released:
Feb 7, 2021
Format:
Podcast episode

Titles in the series (100)

Test & Code is a weekly podcast hosted by Brian Okken. The show covers a wide array of topics including software engineering, development, testing, Python programming, and many related topics. When we get into the implementation specifics, that's usually Python, such as Python packaging, tox, pytest, and unittest. However, well over half of the topics are language agnostic, such as data science, DevOps, TDD, public speaking, mentoring, feature testing, NoSQL databases, end to end testing, automation, continuous integration, development methods, Selenium, the testing pyramid, and DevOps.