Get 20% off all career paths from fullstack to AI
Live Online Classes in Design, Coding & AI — Small Classes, Free Retakes
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Explore the power of pytest fixtures in this comprehensive tutorial video. Learn how to set up and tear down tests using the pytest.fixture() decorator, understand the concept of yield fixtures, and master the use of pytest.mark.usefixtures() built-in marker. Dive into practical examples of implementing fixtures with Selenium, discover techniques for automatically setting fixtures, and gain insights on setting fixture scopes. Follow along as seasoned QA Engineer Rex Jones II guides you through the process of creating reusable test resources, improving test efficiency, and enhancing the maintainability of your test suite using pytest fixtures.
Syllabus
Introduction
Set Up – Tear Down via @pytest.fixture
Automatically Set Fixture
@pytest.mark.usefixtures
Set The Fixture Scope
Taught by
LambdaTest