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

Coursera Project Network

Enhance your python unit testing using Coverage

Coursera Project Network via Coursera

Overview

In this 1-hour long project-based course, you will learn how to you can use coverage.py to ensure that every bit of your python code is covered by a test - hence the name coverage.py. You will create test functions for a python class, one method and a time. At each step, you will learn how to cover different aspects of your code and use the cool web interface of coverage.py to monitor your progress.


Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Syllabus

  • Project Overview
    • Python has a rich toolkit that enables you to perform robust test automation, and the coverage.py is a third-party package that can enhance your testing activities. In this project you will learn how you can use coverage.py to ensure that every bit of your python code is covered by a test - hence the name coverage.py. You will create test functions for a python class, one method and a time. At each step, you will learn how to cover different aspects of your code and use the cool web interface of coverage.py to monitor your progress.

Taught by

Sherif A. Tawfik Abbas

Reviews

Start your review of Enhance your python unit testing using Coverage

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.