May 2019
Beginner
528 pages
29h 51m
English
doctestA key aspect of software development is testing your code to ensure that it works correctly. Even with extensive testing, however, your code may still contain bugs. According to the famous Dutch computer scientist Edsger Dijkstra, “Testing shows the presence, not the absence of bugs.”17
doctest and the testmod FunctionThe Python Standard Library provides the doctest module to help you test your code and conveniently retest it after you make modifications. When you execute the doctest module’s testmod function ...
Read now
Unlock full access