Anonymous Reader writes “This article looks at Python’s two standard modules for unit testing: unittest and doctest. These modules expand on the capability of the built-in assert statement, which is used for validation of pre-conditions and post-conditions within functions. The author discusses the best ways to incorporate testing into Python development, weighing the advantages of different styles for different types of projects.”
Link: ibm.com/developerworks
Category:
- Python