Learn PyTest from Scratch in 2022

Learn how to create and execute automation tests in pytest

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.

What you’ll learn

  • 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).

Course Content

  • PyTest Environment Setup on your System –> 7 lectures • 15min.
  • Create and Run your first test –> 4 lectures • 25min.
  • How does Pytest identifies test files and test functions ? –> 3 lectures • 14min.
  • Selecting Tests to execute –> 8 lectures • 33min.
  • Fixtures –> 5 lectures • 30min.
  • Parameterize, skip and Xfail Test –> 5 lectures • 32min.
  • Running tests in parallel –> 4 lectures • 16min.
  • How to limit maximum test failures –> 3 lectures • 13min.
  • pytest.ini configuration file –> 2 lectures • 12min.
  • pytest results –> 3 lectures • 14min.

Learn PyTest from Scratch in 2022

Requirements

  • You should have a basic understanding of the Python Programming Language..
  • A system with an internet connection to install required stuff.
  • Desire to learn.

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 practical way and boost your career.

Get Tutorial