Python tutorial: unit test your code with the unittest module

Python tutorial: unit test your code with the unittest module

HomeCorey SchaferPython tutorial: unit test your code with the unittest module
Python tutorial: unit test your code with the unittest module
ChannelPublish DateThumbnail & View CountDownload Video
Channel AvatarPublish Date not found Thumbnail
0 Views
In this Python programming tutorial, we will learn how to unit test our code using the unittest module. Unit testing will allow you to be more comfortable with refactoring and know whether or not your updates broke any of your existing code. Unit testing is essential on any large project and is used by all major companies. Not only that, but it will also significantly improve your personal code. Let's get started.

The code for this video can be found at:
https://github.com/CoreyMSchafer/code_snippets/tree/master/Python-Unit-Testing

Unittest assertion methods:
https://docs.python.org/3/library/unittest.html#unittest.TestCase.debug
if __name__ video '__main__': https://www.youtube.com/watch?vsugvnHA7ElY
OOP series: https://www.youtube.com/playlist?listPL-osiE80TeTsqhIuOqKhwlXsIBIdSeYtc

Support my channel via Patreon:
https://www.patreon.com/coreyms

Become a member of the channel:
https://www.youtube.com/channel/UCCezIgC97PvUuR4_gbFUs5g/join

One-time contribution via PayPal:
https://goo.gl/649HFY

Cryptocurrency donations:
Bitcoin Wallet – 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet – 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet – MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot

Corey's Public Amazon Wishlist
http://a.co/inIyro1

Equipment I use and books I recommend:
https://www.amazon.com/shop/coreyschafer

️ You can find me on:
My website – http://coreyms.com/
My second channel – https://www.youtube.com/c/coreymschafer
Facebook – https://www.facebook.com/CoreyMSchafer
Twitter – https://twitter.com/CoreyMSchafer
Instagram – https://www.instagram.com/coreymschafer/

#Python

Please take the opportunity to connect and share this video with your friends and family if you find it useful.