HOME > Development > Unit Testing and Test Driven Development in Python

Unit Testing and Test Driven Development in Python

  • Development
  • Mar 03, 2025
SynopsisUnit Testing and Test Driven Development in Python, available...
Unit Testing and Test Driven Development in Python  No.1

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

  • 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.
  • Who Should Attend

  • Anyone who wants to write better python code faster.
  • Target Audiences

  • Anyone who wants to write better python code faster.
  • 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

  • Unit Testing and Test Driven Development in Python  No.2
    Richard Wells
    Professional software engineer passionate about quality code
  • Rating Distribution

  • 1 stars: 49 votes
  • 2 stars: 124 votes
  • 3 stars: 709 votes
  • 4 stars: 1581 votes
  • 5 stars: 1559 votes
  • 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!