Learn pytest in 6 Hours - Complete pytest framework Course
A comprehensive course from LambdaTest designed to teach the pytest testing framework thoroughly.
Lectures -10
Duration -5.5 hours
30-days Money-Back Guarantee
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
- 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
- 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 Learn pytest in 6 Hours - Complete pytest framework Course](https://d3mxt5v3yxgcsr.cloudfront.net/courses/18753/course_18753_image.png)
Curriculum
Check out the detailed breakdown of what’s inside the course
Introduction to pytest
1 Lectures
-
What is pytest | pytest Framework Tutorial | Part-I | LambdaTest 16:58 16:58
Running Your First Test
1 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Assertions In pytest
1 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Running Multiple Tests
1 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Group Tests in pytest
1 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Parameterization In pytest
1 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Skip And Stop Tests
1 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Page Object Model
1 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Generating Test Reports
1 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Performing Cross Browser Testing
1 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Instructor Details
![Sarah Elson](https://www.tutorialspoint.com/assets/profiles/716521/profile/200_812632-1694708682.jpg)
Sarah Elson
Course Certificate
Use your certificate to make a career change or to advance in your current career.
![sample Tutorialspoint certificate](/market/public/assets/newDesign/img/primePacks/V-certificate.png)
Our students work
with the Best
![adobe logo](/market/public/assets/newDesign/img/adobe.png)
![adp logo](/market/public/assets/newDesign/img/adp.png)
![apple logo](/market/public/assets/newDesign/img/apple.png)
![armani logo](/market/public/assets/newDesign/img/armani.jpg)
![bosch logo](/market/public/assets/newDesign/img/bosch.png)
![capegemini logo](/market/public/assets/newDesign/img/capegemini.png)
![cisco logo](/market/public/assets/newDesign/img/cisco.png)
![hdfc bank logo](/market/public/assets/newDesign/img/hdfcbank.png)
![ibm logo](/market/public/assets/newDesign/img/ibm.png)
![intel logo](/market/public/assets/newDesign/img/intel.png)
![mastercard logo](/market/public/assets/newDesign/img/mastercard.png)
![netflix logo](/market/public/assets/newDesign/img/netflix.png)
![qualcomm logo](/market/public/assets/newDesign/img/qualcomm.png)
![samsung logo](/market/public/assets/newDesign/img/samsung.png)
![sony logo](/market/public/assets/newDesign/img/sony.png)
![unilever logo](/market/public/assets/newDesign/img/unilever.png)
![walmart logo](/market/public/assets/newDesign/img/walmart.png)
![adobe logo](/market/public/assets/newDesign/img/adobe.png)
![adp logo](/market/public/assets/newDesign/img/adp.png)
![apple logo](/market/public/assets/newDesign/img/apple.png)
![armani logo](/market/public/assets/newDesign/img/armani.jpg)
![bosch logo](/market/public/assets/newDesign/img/bosch.png)
![capegemini logo](/market/public/assets/newDesign/img/capegemini.png)
![cisco logo](/market/public/assets/newDesign/img/cisco.png)
![hdfcbank logo](/market/public/assets/newDesign/img/hdfcbank.png)
![ibm logo](/market/public/assets/newDesign/img/ibm.png)
![intel logo](/market/public/assets/newDesign/img/intel.png)
![mastercard logo](/market/public/assets/newDesign/img/mastercard.png)
![netflix logo](/market/public/assets/newDesign/img/netflix.png)
![qualcomm logo](/market/public/assets/newDesign/img/qualcomm.png)
![samsung logo](/market/public/assets/newDesign/img/samsung.png)
![sony logo](/market/public/assets/newDesign/img/sony.png)
![unilever logo](/market/public/assets/newDesign/img/unilever.png)
![walmart logo](/market/public/assets/newDesign/img/walmart.png)
Related Video Courses
View MoreAnnual 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 Annual Membership](/market/public/assets/newDesign/img/membership-large-small.jpg)
Online Certifications
Master prominent technologies at full length and become a valued certified professional.
Explore Now![Online Certifications Online Certifications](/market/public/assets/newDesign/img/traning-for-a-team.png)