←back to thread

Unit tests as documentation

(www.thecoder.cafe)
94 points thunderbong | 1 comments | | HN request time: 0.203s | source
1. kbbgl87 ◴[] No.41872164[source]
I believe that doctest is the best of both worlds, https://docs.python.org/3/library/doctest.html