Google AI Professional Certificate - Learn AI Skills That Get You Hired
Free courses from frontend to fullstack and AI
Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
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