Unit Testing and Test Driven Development in Python
- Development
- Mar 03, 2025

Unit Testing and Test Driven Development in Python, available at $54.99, has an average rating of 4.3, with 23 lectures, 2 quizzes, based on 4022 reviews, and has 17988 subscribers.
You will learn about How to implement unit tests in python using the discipline of Test Driven Development. How to use test doubles to decouple production code from the rest of the system to be tested in isolation. This course is ideal for individuals who are Anyone who wants to write better python code faster. It is particularly useful for Anyone who wants to write better python code faster.
Enroll now: Unit Testing and Test Driven Development in Python
Summary
Title: Unit Testing and Test Driven Development in Python
Price: $54.99
Average Rating: 4.3
Number of Lectures: 23
Number of Quizzes: 2
Number of Published Lectures: 23
Number of Published Quizzes: 2
Number of Curriculum Items: 25
Number of Published Curriculum Objects: 25
Original Price: $24.99
Quality Status: approved
Status: Live
What You Will Learn
Who Should Attend
Target Audiences
Test Driven Development is a key discipline every software developer should practice to ensure the quality of their code. ?In this course I’ll show you how to use this discipline in your everyday coding practices to help ensure the quality of your code base.
In this course we’ll be going over:
What is Unit Testing and Test Driven Development and how does it help you.
What is the PyTest testing library and how is it used for writing unit tests in Python.
How to setup some common Python?development environments to use PyTest.
What are Test Doubles and how do you implement?and use?them with unittest.mock.
What are some Best Practices for unit testing and Test Driven Development.
We’ll also walk through some hands on?example programming sessions using TDD in Python.
Course Curriculum
Chapter 1: Introduction
Lecture 1: Introduction
Chapter 2: Overview of Unit Testing and Test Driven Development
Lecture 1: What is Unit Testing?
Lecture 2: What is Test Driven Development?
Lecture 3: Quick Example TDD Session – The FizzBuzz Kata
Chapter 3: Setting Up Your Development Environment
Lecture 1: Python Virtual Environments
Lecture 2: Setting up Pytest in PyCharm
Lecture 3: Setting up Pytest in Eclipse PyDev
Chapter 4: Pytest Overview
Lecture 1: Pytest Overview
Lecture 2: Test Discovery
Lecture 3: XUnit Style Setup and Teardown
Lecture 4: Test Fixtures
Lecture 5: Assert Statements and Exceptions
Lecture 6: PyTest Command Line Arguments
Chapter 5: The Supermarket Checkout Kata
Lecture 1: Overview
Lecture 2: Setup and 1st Test Case
Lecture 3: Add Items, Add Item Prices, and Calculate Current Total
Lecture 4: Add Multiple Items and Calculate Total
Lecture 5: Add and Apply Discounts
Lecture 6: Throw Exception when Adding an Item with No Price
Chapter 6: Test Doubles
Lecture 1: Overview of Test Doubles, unitest.mock, and monkeypatch
Lecture 2: unittest.mock Example
Chapter 7: TDD Best Practices
Lecture 1: TDD Best Practices
Chapter 8: Conclusion
Lecture 1: Conclusion
Instructors

Richard Wells
Professional software engineer passionate about quality code
Rating Distribution
Frequently Asked Questions
How long do I have access to the course materials?
You can view and review the lecture materials indefinitely, like an on-demand channel.
Can I take my courses with me wherever I go?
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don’t have an internet connection, some instructors also let their students download course lectures. That’s up to the instructor though, so make sure you get on their good side!
- Random Picks
- Popular
- Hot Reviews
- Wisdom Within
- Master 12 Common Network Marketing Objections Every Time
- Advanced Photoshop Manipulations Tutorials Bundle
- Life Insurance Annuity Ultimate Buyer’s Guide
- Crypto Trading Mastery (Scalping, Day trading, price action)
- The Beginner Forex Trading Playbook
- Step-By-Step Stock Market Analysis and Real-Time Trades
- Canva Next Level- Become a Canva Expert
- 1YouTube Masterclass The Best Guide to YouTube Success
- 2Photoshop CC- Adjustement Layers, Blending Modes Masks
- 3Personal Finance
- 4SolidWorks Essential Training ( 2023 2024 )
- 5The Architecture of Oscar Niemeyer
- 6Advanced Photoshop Manipulations Tutorials Bundle
- 7Polymer Clay Jewelry Making Techniques for Beginners
- 8ZB Trading Cryptocurrency Price Action Course
- 1Linux Performance Monitoring Analysis Hands On !!
- 2Content Writing Mastery 1- Content Writing For Beginners
- 3Media Training for PrintOnline Interviews-Get Great Quotes
- 4Learn Facebook Ads from Scratch Get more Leads and Sales
- 5The Complete Digital Marketing Course Learn From Scratch
- 6C#- Start programming with C# (for complete beginners)
- 7[FREE] How to code 10 times faster with Emmet
- 8Driving Results through Data Storytelling