Levelling up your Python EP 01: Doctests

Опубликовано: 14 Май 2026
на канале: U-liang Tang
83
2

We don't test our Python code enough!

One great way to start writing automated testing is to write doctests which is an easy way to get started with testing code. It's easy and part of what you do when documenting your code.

No need to write a seperate module just to test your code, just write doctests within your documentation strings.

--------------------------------------------------------------------------------------------------------------------------

Hi, I'm U-Liang and my passion is Mathematics and Python. And I'm uploading this series of videos to share my knowledge with you all. Click subscribe to help me produce more of such content.