Enhance your python unit testing using Coverage
Offered By: Coursera Project Network via Coursera
Course Description
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.
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
Related Courses
Artificial Intelligence for RoboticsStanford University via Udacity Intro to Computer Science
University of Virginia via Udacity Design of Computer Programs
Stanford University via Udacity Web Development
Udacity Programming Languages
University of Virginia via Udacity