Elegant Automation Frameworks with Python and Pytest

Elegant Automation Frameworks with Python and Pytest

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 6 Hours | 2.60 GB


Fast, scalable, professional-grade framework design

Give your team on-demand, actionable insights into the status of your product with a fast, scalable test automation framework written in Python using the Pytest toolkit. Learn how to eliminate boilerplate setup and teardown code, run multiple tests at the same time, and track the history of your test runs to identify slow or problematic tests.

Learn lessons collected over years of professional automation in just a few hours.

  • Never manage test suites again – let them manage themselves
  • Achieve blazing fast test runs with parallel execution
  • More coverage with less code
  • Industry-ready test structure

A Bulletproof approach to automation fundamentals Python is one of the most popular languages in the world, and the demand for it is only increasing. Pytest is one of the most actively maintained testing frameworks in the industry, and provides an incredible set of tools for faster, less-stressful testing.

Automated testing is one of the most in-demand fields in today’s tech market, but there is very little guidance on how the engineer can move from writing tests to building a robust test architecture. Reliable test frameworks save compounding amounts of time and money, improve trust between testers and developers, and make for happier testers. Happy testers are more productive, more effective, and tend to grow within the organization. Everyone wins.

The most widely circulated videos on these topics speak only to the technologies themselves, and do not offer viable implementation guidance or valuable industry practices. I have made these valuable practices the focus of this course.

Content and Overview Suitable for those comfortable with basic Python and Object-Oriented Programming concepts, these lectures build a rock-solid foundation of skills required to automate at a professional level.

Beginning with a brief introduction and a step-by-step setup of Pytest, this course allows you to watch as I walk you through each action, explaining as we go.

We will discuss what makes a good framework, and maybe more importantly, what makes a bad one. We will learn how to use test searching to avoid cumbersome test suites, and how fixtures can eliminate up to 80% of the code in a bloated codebase.

Students completing the course will have the knowledge to build high-performance, well-organized, scalable test frameworks at the professional level.

Equipped with code samples, short quizzes, and info-rich videos, you’ll have no trouble following along with the concepts, and I am always available for questions.

Finally, automating is a blast, and I wish more people did it. Let me rephrase that – I wish more people did it, and did it well! We need more people like you executing effective, high-value automation solutions, so let’s get started on this journey together!

What you’ll learn

  • Build high-performing, reliable automated test suites with actionable reporting


+ Table of Contents

Introduction
1 Introduction

Setting Up Your Environment
2 Setup Python 3 (Windows)
3 Setting up Your Virtual Environment (Windows)
4 Setting up Python 3 and the Virtual Environment (Mac OS Linux)

The Pytest Framework
5 Getting Started with Pytest
6 Test Searching
7 Save Time and Code with Test Fixtures
8 Reporting Test Results and Tracking Test History
9 Customizing Test Runs with the Command Line and Configuration Files
10 Handling Skips and Expected Failures
11 Cross-Browser and Data-driven testing with parametrize
12 Fast Testing with Pytest-xdist, and Parallel vs Concurrent

Writing Great Tests
13 Writing Unit Tests (White Box Testing)
14 Running Unit Tests with Tox
15 Writing Functional Tests (Black Grey Box Testing)