Video description
Leverage pytest's fast, scalable, and professional-grade framework design to build and run automated test suites like a pro
About This Video
- Become proficient in automated testing using pytest
- Create a well-organized, scalable test framework on a professional level
- Find out how fixtures can eliminate up to 80% of code in a bloated codebase
In Detail
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.
Publisher resources
Table of contents
-
Chapter 1 : Introduction
- Introduction 00:22:42
- Chapter 2 : Setting Up Your Environment
-
Chapter 3 : The Pytest Framework
- Getting started with Pytest 00:20:13
- Test Searching 00:41:57
- Save Time and Code with Test Fixtures 00:27:36
- Reporting Test Results and Tracking Test History 00:09:28
- Customizing Test Runs with the Command Line and Configuration Files 00:39:52
- Handling Skips and Expected Failures 00:21:06
- Cross-Browser and Data-driven testing with parametrize 00:29:42
- Fast Testing with Pytest-xdist, and Parallel vs Concurrent 00:25:56
-
Chapter 4 : Writing Great Tests
- Writing Unit Tests (White Box Testing) 00:37:05
- Running Unit Tests with Tox 00:27:35
- Writing Functional Tests (Black/Grey Box Testing) 00:19:08
Product information
- Title: Elegant Automation Frameworks with Python and Pytest
- Author(s):
- Release date: May 2020
- Publisher(s): Packt Publishing
- ISBN: 9781800561489
You might also like
video
Python Fundamentals
51+ hours of video instruction. Overview The professional programmer’s Deitel® video guide to Python development with …
video
Linux Fundamentals
10+ Hours of Video Instruction Linux Fundamentals LiveLessons has more than 10 hours of comprehensive video …
video
Modern Python LiveLessons: Big Ideas and Little Code in Python
Overview Modern Python LiveLessons: Big Ideas and Little Code in Python provides developers with an approach …
video