Leverage pytestâ??s fast, scalable, and professional-grade framework design to build and run automated test suites like a pro
Key Features
- 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
Book 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.
All codes and supporting files are available at-
https://github.com/PacktPublishing/Elegant-Automation-Frameworks-with-Python-and-Pytest
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
Who this book is for
This course is for anyone looking to build or improve an automated testing framework.