Pythoscope, the unit test generator

Pythoscope 0.4 released

Written for Pythoscope by Michal Kwiatkowski on 2009-01-29

Although a lot of time has passed since the last release I hope improvements implemented in this one are worth the wait. You will notice the changes regardless of how you use the tool. Test stubs are more helpful now, and the revamped dynamic analysis and serialization mechanism make generated test cases both more reliable and readable.

To install/update get the source package from http://pythoscope.org/local--files/download/pythoscope-0.4.tar.gz and run:

  $ python setup.py install

or simply use setuptools:

  $ easy_install pythoscope==0.4

Full summary of changes:
 * Stopped using pickle for object serialization (https://blueprints.launchpad.net/pythoscope/+spec/dont-use-pickle-for-object-serialization) and implemented our own mechanism that carefully captures changing state of objects during dynamic inspection.
 * Implemented "preserve objects identity" blueprint (https://blueprints.launchpad.net/pythoscope/+spec/preserve-objects-identity).
 * Fixed bug related to multiple generator calls (https://bugs.launchpad.net/pythoscope/+bug/295340).
 * Made handling of special method names (like __init__ or __eq__) consistent with handling of normal method names.
 * Made test stubs more useful (https://blueprints.launchpad.net/pythoscope/+spec/better-test-stubs).

Read all announcements