David Li
3 min readJun 15, 2024

--

Photo by Girl with red hat on Unsplash

Leveraging Pytest Fixtures and Markers to Exclude Specific Test Cases

In the realm of software testing, particularly when interfacing with live servers, it’s crucial to differentiate between tests that require live server interaction and those that don’t. This distinction is essential not only to prevent unwanted load on production systems but also to ensure tests run efficiently and are appropriately targeted. Pytest, a powerful Python…

--

--