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

YouTube

Python Unit Testing and Package Submission - Build with Python 5

Samuel Chan via YouTube

Overview

Learn to write Python unit tests and update a Python package in this comprehensive video tutorial. Explore Python testing techniques, including using unittest.mock to test print output and mock print functions. Discover how to re-upload a Python package to PyPI. Gain practical experience in writing modular Python functions through code refactoring, breaking down large functions into smaller, testable units. Follow along with the development of a command-line productivity scoreboard for TaskWarrior, and learn how to structure a production-ready Python package. By the end of this tutorial, you'll be equipped to create, test, and publish your own Python tools.

Syllabus

Build w/ Python 5: Writing Python Unit test (+ submitting our python package)

Taught by

Samuel Chan

Reviews

Start your review of Python Unit Testing and Package Submission - Build with Python 5

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.