HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

Python Tutorial: Unit Testing Your Code with the unittest Module

1,524,204 views November 13, 2017 39:13

Watch on YouTube
ChannelCorey Schafer

Description from the creator

In this Python Programming Tutorial, we will be learning how to unit-test our code using the unittest module. Unit testing will allow you to be more comfortable with refactoring and knowing whether or not your updates broke any of your existing code. Unit testing is a must on any large projects and is used by all major companies. Not only that, but it will greatly improve your personal code as well. Let's get started.

The code from this video can be found at:
github.com/CoreyMSchafer/code_snippets/tree/mas…

Unittest assert methods:
docs.python.org/3/library/unittest.html#unittes…
if __name__ == '__main__' video: youtube.com/watch?v=sugvnHA7ElY
OOP Series: youtube.com/playlist?list=PL-osiE80TeTsqhIuOqKh…


✅ Support My Channel Through Patreon:
patreon.com/coreyms

✅ Become a Channel Member:
youtube.com/channel/UCCezIgC97PvUuR4_gbFUs5g/jo…

✅ One-Time Contribution Through PayPal:
goo.gl/649HFY

✅ Cryptocurrency Donations:
Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot

✅ Corey's Public Amazon Wishlist
a.co/inIyro1

✅ Equipment I Use and Books I Recommend:
amazon.com/shop/coreyschafer

▶️ You Can Find Me On:
My Website - coreyms.com/
My Second Channel - youtube.com/c/coreymschafer
Facebook - facebook.com/CoreyMSchafer
Twitter - twitter.com/CoreyMSchafer
Instagram - instagram.com/coreymschafer/

#Python

About this tutorial

Corey Schafer published this 39:13 video tutorial on November 13, 2017. It has been watched 1,524,204 times on YouTube.

Category
Education
Duration
39:13
Published
November 13, 2017
Views
1,524,204
Likes
28,231

Tags

Share

This tutorial in other languages