Learn Pytest From Scratch
Learn how to create and execute automation tests in pytest
Updated on Sep, 2023
Language - English
Duration -4 hours
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
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.
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)
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
Check out the detailed breakdown of what’s inside the course
Start with Basics first
- Introduction 00:56 00:56
- What is testing ? Automation ? and framework ? 10:42 10:42
PyTest Environment Setup on your system
Create and execute your first test
How does PyTest identifies test file and test functions
Learn ways to select tests to execute
Parameterize, skip and Xfail a test
Running tests in parallel
How to limit maximum test failures
Pytest.ini configuration file
Threading in Pytest, Problem & Solution
Write an actual Tests to check the Phone Properties
Bonus! Thank You
Rohit DharaviyaSoftware Engineer
Hey! 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
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
Related Video CoursesView More
Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video CoursesSubscribe now
Master prominent technologies at full length and become a valued certified professional.Explore Now