Unit Testing in Python

Offered By
Coursera Project Network
In this Guided Project, you will:

Understand the theory behind unit testing

Be able to write your own unit tests

Clock1.5 hours
BeginnerBeginner
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

This guided project is for Unit Testing in Python for Beginners. By the end of this project, you will learn about unit testing in Python. This course will enable you to take your beginner knowledge of Python to the next level by incorporating unit testing into your development. Unit testing means testing the smaller units of your application and the reason for doing this is to prove that your code actually works. The course will take you through a number of different coded examples and you will gain an understanding of the concept of unit testing by the end of this project.

Skills you will develop

Unit TestingSoftware EngineeringPython Programming

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. What is a unit test?

  2. assertEqual and assertNotEqual

  3. assertTrue and assertFalse

  4. skiptest

  5. Exception Tests

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.