Playback starts YouTube’s embedded player (privacy-enhanced mode).
Python Tutorial: Unit Testing Your Code with the unittest Module
ChannelCorey SchaferDescription 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
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.
- Channel
- Corey Schafer
- Category
- Education
- Duration
- 39:13
- Published
- November 13, 2017
- Views
- 1,524,204
- Likes
- 28,231
Tags
Share
This tutorial in other languages
- FRPython Tutorial: Unité Test de votre code avec le module unittest
- ESTutorial de Python: Unidad de probar su código con el módulo unittest
- PTPython Tutorial: Unidade de Teste seu código com o módulo unittest
- ITPython Tutorial: Unit Testing il codice con il modulo unittest
- DEPython Tutorial: Unit Testing Ihr Code mit dem Unittest-Modul
- NLPython Tutorial: Unit testen van uw code met de unittest Module
- RUPython Tutorial: Модульное тестирование Ваш код с UnitTest модуля
- PLPython Tutorial: Unit Testing Twój kod z modułem unittest
- JAPythonのチュートリアル:単体テストのモジュールとのユニットテスト、コード
- ARبيثون التعليمي: وحدة اختبار الرمز الخاص بك مع وحدة unittest
- HIअजगर ट्यूटोरियल: यूनिट टेस्टिंग unittest मॉड्यूल के साथ अपने कोड
- IDPython Tutorial: Unit Pengujian Kode Anda dengan Modul unittest