Join the DZone community and get the full member experience.
Join For Free
Easily build powerful user management, authentication, and authorization into your web and mobile applications. Download this Forrester report on the new landscape of Customer Identity and Access Management, brought to you in partnership with Stormpath.
tl;dr: an update to PyMOTW for `unittest` in Python 3: Python Unit Testing Tutorial.
When I was learning programming in Python, Doug Hellmann's 'PyMOTW' (Python Module Of The Week) blog-series was one of the best resources to learn Python's standard library.
His series later culminated in the book: 'The Python Standard Library By Example'.
The PyMOTW entry on `unittest`
was a great introduction to unit testing in Python. Since the PyMOTW
version is getting quite outdated, I updated the `unittest` module
This new version includes some edits and updates to the text, and all code and examples have been updated to reflect Python 3.3.
Have a look at my updated Python 3.3 version:
'Python Unit Testing Tutorial'
Creative Commons Attribution, Non-commercial, Share-alike 3.0
say no to bugs...
The Web Dev Zone is brought to you by Stormpath—offering a complete, pre-built User Management API for building web and mobile applications, and APIs. Download our new whitepaper: "Build Versus Buy: Customer Identity Management for Web and Mobile Applications".
Published at DZone with permission of
, DZone MVB
Opinions expressed by DZone contributors are their own.