Search

Home > Test and Code > 143: pytest markers - Anthony Sottile
Podcast: Test and Code
Episode:

143: pytest markers - Anthony Sottile

Category: Technology
Duration: 00:40:00
Publish Date: 2021-02-07 02:00:00
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.

Sponsored By:

Support Test & Code : Python Testing for Software Engineering

Links:

Total Play: 0