Unit testing Zope Products with ZUnit by Lalo Martins Unit Testing What is Unit Testing Where does it come from How should it be done Refactor mercilessly! Writing Tests Importing ZUnit The TestCase class Interfacing with the Zope environment Fixtures The persistence problem - leaving traces behind Grouping tests in TestSuites Wrapping it all up in a creator function Running the tests The TestRunner object TestResults objects Leaving objects behind for debugging