Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Unit Testing and Test Driven Development in Python
Highest Rated
Rating: 4.6 out of 5(5,230 ratings)
22,171 students

Unit Testing and Test Driven Development in Python

Learning the discipline of Test Driven Development (also known as TDD) Using the Python Programming Language
Created byRichard Wells
Last updated 1/2019
English

What you'll 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.

Course content

8 sections23 lectures2h 3m total length
  • Introduction2:28

    In this video I introduce myself and the concepts of unit testing and Test Driven Development.

Requirements

  • You should be familiar with the python programming language.
  • You should have Python 2.7 or Python 3 installed.

Description

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.

Who this course is for:

  • Anyone who wants to write better python code faster.