Udemy

Hands-On Test Driven Development with Python

Enroll Now
  • 749 Students
  • Updated 6/2018
  • Certificate Available
4.0
(139 Ratings)
CTgoodjobs selects quality courses to enhance professionals' competitiveness. By purchasing courses through links on our site, we may receive an affiliate commission.

Course Information

Registration period
Year-round Recruitment
Course Level
Study Mode
Duration
2 Hour(s) 18 Minute(s)
Language
English
Taught by
Packt Publishing
Certificate
  • Available
  • *The delivery and distribution of the certificate are subject to the policies and arrangements of the course provider.
Rating
4.0
(139 Ratings)
2 views

Course Overview

Hands-On Test Driven Development with Python

Apply the practices of Test-Driven Development using the PyTest framework to easily create your unit tests

Do you want to be one of the core developers at your company—the person that everyone wants on their team, and who can deliver new features that work on time? Unit Testing and Test-Driven Development (TDD) are key disciplines that can help you achieve that goal.

In this video tutorial, you’ll learn about the PyTest testing library and how it’s used to write unit tests in Python. You’ll also set up some common Python development environments to use PyTest. You’ll create isolated test environments with Test Doubles and learn how to implement and use them with unittest.mock. Moving on, you’ll get to know some of the best practices in Unit Testing and TDD and get some hands-on experience with programming by implementing unit tests using TDD in Python. 

By the end of this course, you’ll be able to apply the practices of Unit Testing and TDD on a daily basis to radically increase the quality of your code and help you and your company achieve your goals faster than ever before.

About The Author

Richard Wells is a software engineer with over twenty years of experience. He has contributed immensely towards writing codes in Assembly, C, C++, Java, C#, Javascript, and Python. He is also well-informed with the entire software development lifecycle. He has written system requirements, software requirements, use cases, and user stories. He has worked on several difficult projects with tight deadlines and high expectations for quality and because of that, he is an avid practitioner of Agile, Scrum, and Extreme Programming disciplines. He is very much passionate about the process of writing quality software fast.

Course Content

  • 5 section(s)
  • 26 lecture(s)
  • Section 1 Overview and Setting Up Your Development Environment
  • Section 2 PyTest Framework Supporting Functional Testing
  • Section 3 Hands-On Example - Implementing a Checkout Cart with TDD
  • Section 4 Creating an Isolated Test Environment with Test Doubles
  • Section 5 Unit Testing and TDD Best Practices

What You’ll Learn

  • Know how to write better Python code faster using the disciplines of Unit Testing and TDD
  • Use code coverage tools to ensure your unit tests are thoroughly testing all of your production code
  • See the application of Unit Testing and TDD using the PyTest unit testing framework to create your unit tests
  • Set up several popular Python IDEs to run PyTest unit tests and visually show the results in the IDE
  • Get to know the best practices for Unit Testing and TDD and how to apply them
  • Apply an Isolated Test Environment using the unittest mock library to test your production code in isolation
  • Create Python virtual environments to create isolated Python development environments for each of your projects


Reviews

  • K
    Kassandra Keeton
    4.0

    Lots of information and great examples! Would have been nice to see how to run with certain configurations not through IDE setup, but can check that out in the different tools' documentation. Overall, great course! Would be curious to see the more advanced examples. Would buy another course from this provider.

  • M
    Matthew Iames
    3.0

    The course is very condensed. With that said it can be difficult to follow. You will need to look a few of the pytest concepts up in the documentation.

  • B
    Budimir Miljkovic
    3.0

    The first part of course was conducted very well but at the introduction of the Mock objects the examples were rushed through without a sufficient explanation what was being done.

  • M
    Misael Leandro Primaz
    4.5

    Me ensinou como é simples usar o pytest; Como ir criando testes simples e ir agregando complexidade passo a passo pode ser muito produtivo; Observar alguém com experiência no desenvolvimento nos possibilita aprender técnicas que auxiliam na produtividade e qualidade. Eu recomendo a todos que assistam quantas vezes acharem necessário até entender um conceito. Bom custo benefício.

Start FollowingSee all

We use cookies to enhance your experience on our website. Please read and confirm your agreement to our Privacy Policy and Terms and Conditions before continue to browse our website.

Read and Agreed