Python Doctest Considered Awesome
Published in
4 min readMar 12, 2020
Doctest is a really clever built-in Python module that allows you to embed automated tests in documentation strings. If you’re somewhat new to Python and that sounds complicated — it isn’t. It is very easy to set up; I will show you how.