Tutorialspoint

#May Motivation Use code MAY10 for extra 10% off

Learn pytest in 6 Hours - Complete pytest framework Course

person icon Sarah Elson

4.6

Learn pytest in 6 Hours - Complete pytest framework Course

A comprehensive course from LambdaTest designed to teach the pytest testing framework thoroughly.

updated on icon Updated on May, 2024

language icon Language - English

person icon Sarah Elson

category icon Software Testing,PyTest

Lectures -10

Duration -5.5 hours

4.6

price-loader

30-days Money-Back Guarantee

Training 5 or more people ?

Get your team access to 10000+ top Tutorials Point courses anytime, anywhere.

Course Description

This course series is here to help you understand pytest, a framework for testing in Python, and its core functions. It's for beginners who are just starting out with pytest. This pytest course covers the basics like how to set it up, write simple tests, use fixtures for test data, and configure test behavior with command-line options. It also talks about more advanced topics like using markers to organize tests and parameterized tests to make them more scalable.

pytest is a test automation framework that allows developers and testers to write test scripts using Python. It also provides an effective way to write and execute scalable test cases or test suites and generate extensive test reports.

Goals

What will you learn in this course:

  • Understanding the basic concepts and setup required for pytest.
  • Learning how to write simple tests and execute them effectively.
  • Mastering the use of fixtures for optimal test data management.
  • Exploring markers, parameterization, and plugins to enhance testing capabilities.
  • Implementing pytest in development workflows and adhering to best testing practices.

Prerequisites

What are the prerequisites for this course?

  • Basic Python Knowledge: Familiarity with Python syntax, functions, and basic programming concepts.
  • Understanding of Basic Software Development: Some exposure to software development practices and principles.
  • Familiarity with Command Line Interface (CLI): Comfort using command line tools, as pytest is typically executed in a shell environment.
  • Knowledge of Python Testing Libraries: A basic understanding of other Python testing frameworks can provide a good foundation for understanding how pytest differs and its advantages.
  • Understanding of Assertions: Knowing how to use assertions to check for expected outcomes in tests is crucial, as pytest makes extensive use of assertions to validate test results.
  • Know-how of Fixtures and Mocking: Knowledge of how to use fixtures for setup and teardown of test conditions, and mocking to simulate the behavior of complex objects in tests, is important when advancing in pytest.
  • Cross-Browser Testing Skills: Understanding how to perform cross-browser testing, using frameworks like Selenium to automate browser actions and ensure that web applications function consistently across multiple browsers and devices.

Learn pytest in 6 Hours - Complete pytest framework Course

Curriculum

Check out the detailed breakdown of what’s inside the course

Introduction to pytest
1 Lectures
  • play icon What is pytest | pytest Framework Tutorial | Part-I | LambdaTest 16:58 16:58
Running Your First Test
1 Lectures
Tutorialspoint
Assertions In pytest
1 Lectures
Tutorialspoint
Running Multiple Tests
1 Lectures
Tutorialspoint
Group Tests in pytest
1 Lectures
Tutorialspoint
Parameterization In pytest
1 Lectures
Tutorialspoint
Skip And Stop Tests
1 Lectures
Tutorialspoint
Page Object Model
1 Lectures
Tutorialspoint
Generating Test Reports
1 Lectures
Tutorialspoint
Performing Cross Browser Testing
1 Lectures
Tutorialspoint

Instructor Details

Sarah Elson

Sarah Elson

e


Course Certificate

Use your certificate to make a career change or to advance in your current career.

sample Tutorialspoint certificate

Our students work
with the Best

Related Video Courses

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
Annual Membership

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
Online Certifications

Talk to us

1800-202-0515