Pytest Tutorial

Pytest Tutorial

Pytest is a testing framework based on python. It is mainly used to write API test cases. This tutorial helps you understand −

  • Installation of pytest.
  • Various concepts and features of pytest.
  • Sample programs.

By the end of this tutorial, you should be able to start writing test cases using pytest.


This tutorial is designed to benefit IT professionals and students who want to take a step further in their QA Automation career by adding a strong testing framework to their skillset.


The prerequisites to begin with this tutorial are −

  • Familiarity with any programming language.
  • Knowledge of basic programming concepts.
  • Python installed.