[LWN Logo]
[LWN.net]
From:	 "Mark Pilgrim" <f8dy@yahoo.com>
To:	 python-announce-list@python.org
Subject: ANN: Dive Into Python chapter 5 released
Date:	 Thu, 31 May 2001 13:09:00 -0400

"Dive Into Python" is a free Python book for experienced programmers.
Chapter 5, "Unit Testing", is now available:
    http://diveintopython.org/roman_divein.html

Chapter 5 teaches unit testing with PyUnit (now known as the "unittest"
module, standard in Python 2.1).  It goes step by step through the full
lifecycle of a module:
- specifying requirements
- writing test cases
- writing code until all tests pass
- updating tests to handle bugs and new requirements
- refactoring to improve performance

Each step includes full Python source code for both the test cases and the
module being tested, so you can see how the code evolves from a set of
function stubs that fail all test cases to a complete, working, well-tuned
module.

Mark Pilgrim
f8dy@diveintopython.org
--
You're smart; why haven't you learned Python yet?
http://diveintopython.org/



-- 
http://mail.python.org/mailman/listinfo/python-announce-list