《Modern Python Testing with pytest》视频课程专为Python开发者设计,通过真实项目案例,快速掌握pytest核心用法、固件、模拟及代码覆盖率,构建高效可维护的自动化测试工作流。

原始标题:Modern Python Testing with pytest

Modern Python Testing with pytest

Master Python Unit Testing with pytest 是一门面向 Python 开发者的实用视频课程,旨在帮助学员快速、高效地掌握工业级自动化测试框架 pytest 的核心用法与实战技巧。课程抛弃了低效的手工测试,专注于通过真实项目案例教学,指导学员构建高覆盖率、可维护的专业级测试工作流。

Published 6/2026
Created by Dave Hollingworth
MP4 | Video: h264, 1920×1080 | Audio: AAC, 44.1 KHz, 2 Ch
Level: Beginner | Genre: eLearning | Language: English | Duration: 27 Lectures ( 1h 18m ) | Size: 514.2 MB

Master Python Unit Testing with pytest Quickly and Effectively with Real-World Examples

What you’ll learn
⚡ Write clear, maintainable automated tests using pytest
⚡ Organise test suites with a scalable project structure
⚡ Use fixtures to manage test setup, teardown, and dependencies
⚡ Apply mocking techniques to isolate code and test different execution paths
⚡ Measure and enforce code coverage standards for reliable applications
⚡ Configure pytest for long-term use in professional development and CI workflows

Requirements
❗ You should already be comfortable with basic Python programming, including functions, modules, and running Python code from the command line
❗ You should be comfortable installing software on your computer, and working on the command line
❗ No prior experience with pytest or other testing frameworks is required

DescriptionPytest is a modern, popular Python testing framework used to write and runautomated tests forPython code. It makes testingsimple andscalable, allowing you to create clear tests with minimal boilerplate while supporting advanced features such asfixtures,parameterisation, andmocking.

Pytest helps developers catch bugs early and refactor code with confidence by making automated testingsimple andefficient.

Learn how to write, organise, and run automated tests with pytest to build more reliable and maintainable Python applications.
Testing fundamentals and writing your first pytest tests

Organising andstructuring test suites

✨ Usingfixtures for reusable test setup and teardown

Parameterising tests to cover multiple scenarios

✨ Working withmarkers to group and control test execution

Mocking andpatching dependencies with pytest tools

✨ Testingexceptions and edge cases

✨ Generating and interpretingcoverage reports

✨ Enforcing minimum test coveragestandards

Configuring pytest and coverage settings for real-world projects

Best practices for writing maintainable and effective tests

✨ Building a complete testing workflow suitable for professional development andCI pipelines

Developing Python applications is far easier and less error-prone when you can quickly verify that your code works as expected using a testing framework like pytest.

Content and Overview
This course is designed for Python developers who want to learn how to writereliable,maintainable code by building a solid foundation in automated testing with pytest. I designed the course for Python developers who want to move beyond manual testing and learn how to build confidence in their code throughautomated testing.

This course takes you from writing Python code with no tests to confidently building, organising, and maintainingproduction-ready applications using pytest. Step by step, you’ll learn how to write, structure, and test Python applications using pytest, while applyingbest practices to buildreliable andmaintainable code.

Suitable for all Python developers, you’ll start by learning thecore features of pytest.

✨ You’ll learn how toorganise your tests the pytest way, and how to workefficiently with it.

✨ At each stagereal-world examples are used to show how pytest is used in practical Python development.

✨ Throughout the course, we’ll use techniques that you canreuse in all your projects.

✨ All the time we’ll adhere toindustry standards andbest practices.

By the end of the course, you’ll be able to confidently write, structure, and run pytest tests to build reliable Python applications.

Complete with all the code shown in the lectures, you’ll be able towork alongside the instructor and will receive a verifiablecertificate of completion upon finishing the course.

Also, at all times throughout the course you haveaccess to the instructor in the Q&A section to ask forhelp with any topic related to the course.

Enrol now and start building confidence in your Python code through practical, real-world testing with pytest.

Who this course is for
⭐ Python developers who want to learn automated testing with pytest
⭐ Anyone interested in learning modern Python testing practices used in professional projects

隐藏内容

百度网盘下载:

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注