Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

What Are Assertions in Pytest - Pytest Framework Tutorial - Part III - LambdaTest

LambdaTest via YouTube

Overview

Explore assertions in pytest with this comprehensive video tutorial led by Rex Jones II, a seasoned QA Engineer and Trainer. Learn the syntax of assert statements, understand AssertionError exceptions, and discover the differences between hard and soft asserts. Create test scripts, walk through examples, and gain a strong foundation in using assertions to verify code correctness. By the end of this 34-minute tutorial, master the essential skills needed to effectively implement assertions in your pytest framework for more robust testing.

Syllabus

Introduction
Walk Through The Test Script
Create Test Script
Syntax of Assert Statement
AssertionError Exception
Difference Between Hard & Soft Assert

Taught by

LambdaTest

Reviews

Start your review of What Are Assertions in Pytest - Pytest Framework Tutorial - Part III - LambdaTest

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.