Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Pluralsight

Testing in Python 3

via Pluralsight

Overview

This course will teach you to write and use unit tests in
Python using popular tools and frameworks like unittest and
pytest.

Developers want to be sure the code they write is good quality and does the right thing. In this course, Testing in Python 3, you’ll learn to write unit tests in popular frameworks like unittest and pytest. First, you’ll explore the basic ideas and vocabulary of unit testing with the built-in package unittest and the popular tool pytest. Next, you’ll discover how to use test doubles to isolate your units. Finally, you’ll learn how to use more advanced testing techniques like approval testing and parameterized tests. When you’re finished with this course, you’ll have the skills and knowledge of writing the automated tests needed to ensure your code does what you think it does and has a reliable suite of regression tests to support future development.

Syllabus

  • Course Overview 1min
  • Unit Test Vocabulary and Design 29mins
  • Using Pytest 26mins
  • Testing By Developers: Why and When 31mins
  • Using Test Doubles 31mins
  • Improving Test Coverage and Maintainability 33mins
  • Code That’s Difficult to Test 30mins

Taught by

Emily Bache

Reviews

4.9 rating at Pluralsight based on 27 ratings

Start your review of Testing in Python 3

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.