Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Learn Backend Development Part-Time, Online
Overview
Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
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