Elegant Automation Frameworks with Python and Pytest

Video description

Python is one of the most popular programming languages in the world, with its demand increasing by the minute. Pytest - one of the most actively maintained testing frameworks in the industry - provides an incredible set of tools for faster, less stressful testing. In this course, you’ll learn how to eliminate boilerplate setup and teardown code, run multiple tests simultaneously, and track your test run history to identify slow or problematic tests.

Beginning with a brief introduction and a step-by-step setup of pytest, this course will walk you through each session. You’ll discover what makes a good framework, and, more importantly, what makes a bad one. As you advance, you’ll learn how to use test searching to avoid cumbersome test suites, and how fixtures can eliminate up to 80% of code in case of code bloat. This interactive course is also equipped with information-rich videos to help you grasp the concepts with ease.

By the end of this course, you’ll be ready to build high-performance, well-organized, scalable test frameworks on the professional level.

What You Will Learn

  • Delve into one of the most in-demand fields in today s tech market - automated testing
  • Build high-performance automated test suites with actionable reporting
  • Discover how to eliminate boilerplate setup and teardown code
  • Find out how to run multiple tests simultaneously
  • Get to grips with tracking the history of your test runs


This course is for anyone looking to build or improve an automated testing framework.

About The Author

Brandon Blair: Brandon Blair is a Software Engineer who designs fast, scalable, and maintainable frameworks for automated testing in the UI (browser), backend/API, and mobile testing domains. He is passionate about delivering critical insights to teams at short notice by giving them powerful automation tools and enjoys teaching strong foundational concepts to others, along with focusing on problem-solving.

Publisher resources

Download Example Code

Product information

  • Title: Elegant Automation Frameworks with Python and Pytest
  • Author(s): Brandon Blair
  • Release date: May 2020
  • Publisher(s): Packt Publishing
  • ISBN: 9781800561489