Learn Pytest From Scratch
Learn how to create and execute automation tests in pytest
Development,Automation & testing,PyTest
Lectures -51
Duration -4 hours
Course Description
Welcome to the "Learn PyTest from scratch" course, a PyTest test framework that is a hot favorite choice of a Python developer.
This course is created in a way that even a newbie can follow. Whether you have never learned the PyTest framework or you know the basics but don`t know about the advanced topics, this course is for you. In this course, I will teach you the PyTest framework in the easiest way possible.
Testing is a crucial thing, the framework provides an easy way to adapt and use it to implement tests, PyTest is the most widely used, and as it is based on python programming language, which doesn`t need any introduction. Learning PyTest becomes very easy as of simple syntax of python.
This course will teach you PyTest in a practical way, with every lecture coming with a full code walkthrough and a screencast presentation of a topic. Each section has an exercise to test your knowledge of what you will be gaining from the particular section.
I will start by helping you get installed needed things on your system, which includes Python, PyTest, pip, and, PyCharm IDE.
I have covered a wide variety of topics, including:
Installing Python, PyTest, pip, PyCharm
Running a test in PyTest
Assert in PyTest
Understanding of the result of the test
Discovery of a test
PyTest way of identifying test files and test functions
Fixtures
Markers
Config files
Pytest.ini file
Command-line option
Running tests in parallel
How to limit max test failures
and much more!
You will get lifetime access to all the lectures plus corresponding presentation slides of the lectures!
So what are you waiting for? Learn PyTest with me in the easiest and most practical way and boost your career.
Goals
What will you learn in this course:
How to create and execute automation test suite in pytest
How to pick some/all/fixed number of tests to execute
Learn about fixtures and how to use them in your tests
Learn about markers, different types of makers
How to run tests in parallel to reduce overall execution time
How to generate pytest result report(HTML, JUnit-XML)
Prerequisites
What are the prerequisites for this course?
You should have a basic understanding of the Python Programming Language.
A system with an internet connection to install required stuff
Desire to learn

Curriculum
Check out the detailed breakdown of what’s inside the course
Start with Basics first
2 Lectures
-
Introduction 00:56 00:56
-
What is testing ? Automation ? and framework ? 10:42 10:42
PyTest Environment Setup on your system
6 Lectures

Create and execute your first test
4 Lectures

How does PyTest identifies test file and test functions
3 Lectures

Learn ways to select tests to execute
8 Lectures

Fixtures
7 Lectures

Parameterize, skip and Xfail a test
5 Lectures

Running tests in parallel
4 Lectures

How to limit maximum test failures
3 Lectures

Pytest.ini configuration file
2 Lectures

PyTest Results
2 Lectures

Threading in Pytest, Problem & Solution
1 Lectures

Write an actual Tests to check the Phone Properties
3 Lectures

Bonus! Thank You
1 Lectures

Instructor Details

Rohit Dharaviya
Software EngineerHey! I`m Rohit Dharaviya, I am a teacher, a student, and a programmer. By profession, I am a software engineer.
I have done my Diploma and Degree in Electronics and Communication from Gujarat-India.
Playing with computers and microcontrollers was always a favorite pass time for me, I used to teach in person. Topics I used to teach were Linux OS concepts, programming languages like C, CPP, and python. I used to provide guidance on making micro-controller-based projects as well. In the process, I have made some cool projects on different MCUs like 8051, Arduino, etc.
I like to keep things simple, and I like to teach in the easiest way possible.
Sing up for my course and let's learn together, Join me to learn about programming concepts, coding & micro-controller projects
Course Certificate
User your certification to make a career change or to advance in your current career. Salaries are among the highest in the world.

Our students work
with the Best


































Feedbacks
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
Online Certifications
Master prominent technologies at full length and become a valued certified professional.
Explore Now