Pythoscope, the unit test generator

Download project files

How do I verify a download?


0.4.3 release from the trunk series released 2010-02-28

Release information
Release notes:

This is a bug fix release, covering all loose ends of 0.4.2. Installation package is now complete and should install without problems on systems without setuptools. I also fixed a serious bug that could cause a test file to be overwritten. Last but not least, some of the internals has been refactored to accommodate future changes.

Big thanks to Pieter Van Dyck for bug reports and fix suggestions.

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

  $ python setup.py install

or simply use setuptools:

  $ easy_install pythoscope==0.4.3

Changelog:

Full summary of changes:
* Pythoscope now ignores application and test modules it could not inspect (https://bugs.launchpad.net/bugs/487138 and https://bugs.launchpad.net/bugs/462849).
* Improved generation of assertions for functions with varargs and kwargs (https://bugs.launchpad.net/bugs/475414 and https://bugs.launchpad.net/bugs/475409).
* Pythoscope will no longer generate two test cases with the same name (https://bugs.launchpad.net/bugs/475504).
* Installation package now contains all essential files (https://bugs.launchpad.net/bugs/481238).
* Pythoscope now properly handles string exceptions thrown inside entry points (https://bugs.launchpad.net/bugs/522364).
* Entry points are now run with the current directory being the project root (https://bugs.launchpad.net/bugs/524352).

File Description Downloads
download icon pythoscope-0.4.3.tar.gz (md5) Source code 51
last downloaded 3 weeks ago
Total downloads: 51

0.4.2-dependency-cleanup release from the trunk series released 2009-11-05

Release information
Release notes:

The goal of this release was to make Pythoscope compatible with different Python versions and different environments. Pythoscope now supports Pythons 2.3 through 2.6 and the interpreter is the only thing needed to install and use the tool. We have a test suite that will help us make sure we retain compatibility in future releases.

Apart from the compatibility improvements we also fixed a few bugs along the way. There are still some know issues, and those were moved to the 0.4.3 milestone, which will be released before the end of this year (and rather sooner than later, I hope). Check out https://launchpad.net/pythoscope/+milestone/0.4.3 for details.

It's also worth mentioning that Pythoscope has been successfully tested on Python's standard library, so it looks like static inspection ...

Changelog:

Full summary of changes:
* Removed dependency on fixture module (https://blueprints.launchpad.net/pythoscope/+spec/stop-using-fixture).
* Fixed test generation bug related to function definitions with varargs (https://bugs.launchpad.net/bugs/440773).
* Dynamic inspector can now handle all types of exceptions, including string exceptions (https://blueprints.launchpad.net/pythoscope/+spec/better-exception-handling).
* Frequently Asked Questions document has been created, also available online (http://pythoscope.org/faq).
* Added support for Pythons 2.3 through 2.6.
* New imports added by Pythoscope are now placed after existing ones, so they don't cause a syntax error when __future__ imports were used (https://bugs.launchpad.net/bugs/373978).
* Fixed inspection bug related to classes deriving from namedtuple instances (https://bugs.launchpad.net/pythoscope/+bug/460715).
* Setuptools is no longer required for installation.

File Description Downloads
download icon pythoscope-0.4.2.tar.gz (md5) Source code 7
last downloaded 12 weeks ago
Total downloads: 7

0.4.1-setup-and-teardown-fixes release from the trunk series released 2009-04-23

Release information
Release notes:

This is mostly a bugfix release, trying to polish a few rough edges. Pythoscope is now faster, handles bigger projects without hassle and doesn't cause problems on Windows anymore.

Changelog:

Full summary of changes:
 * Greatly improved information storage performance (https://blueprints.launchpad.net/pythoscope/+spec/improve-information-storage-performance).
 * Added Pythoscope module for Emacs to the misc/ directory in the source tree.
 * Unittests can now be used as points of entry (https://bugs.launchpad.net/bugs/275059).
 * Pythoscope now ignores source control files (https://bugs.launchpad.net/bugs/284568).
 * Static inspection happens on --init, as it should be (https://bugs.launchpad.net/bugs/325928).
 * Ported itertive pattern matcher for lib2to3 from Python trunk (https://bugs.launchpad.net/bugs/304541).
 * Fixed test generation bug related to nested function arguments (https://bugs.launchpad.net/bugs/344220).
 * Fixed point of entry cleanup bug (https://bugs.launchpad.net/bugs/324522).
 * Fixed some more Windows-specific bugs (https://bugs.launchpad.net/bugs/348136).

File Description Downloads
download icon pythoscope-0.4.1.tar.gz (md5) Source code 9
last downloaded 78 weeks ago
Total downloads: 9

0.4 release from the trunk series released 2009-01-29

Release information
Release notes:

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).

File Description Downloads
download icon pythoscope-0.4.tar.gz (md5) Source code 8
last downloaded 77 weeks ago
Total downloads: 8

0.3.2 release from the trunk series released 2008-10-19

Release information
Release notes:

Full summary of changes:
* Made Pythoscope more verbose (https://blueprints.launchpad.net/pythoscope/+spec/more-verbose-output).
* Added support for user-defined exceptions (https://blueprints.launchpad.net/pythoscope/+spec/user-defined-exceptions).
* Fixed unicode handling bug (https://bugs.launchpad.net/bugs/284585>).
* Improved performance of the internal information storage.

File Description Downloads
download icon pythoscope-0.3.2.tar.gz (md5) Source code 6
last downloaded 91 weeks ago
Total downloads: 6

0.3.1 release from the trunk series released 2008-10-13

Release information
Release notes:

Full summary of changes:
    * Added implementation of samefile function for Windows (#271882).
    * Fixed wrong indentation bug (#271892).
    * Made lib2to3.pgen2.parse.ParseError pickable (#271904).
    * Added support for Python generators.
    * Fixed static inspection of functions having attributes with default values (#275459).

File Description Downloads
download icon pythoscope-0.3.1.tar.gz (md5) Source code 11
last downloaded 21 weeks ago
Total downloads: 11

0.3 release from the trunk series released 2008-09-22

Release information
Release notes:

Full summary of changes:

* Fixed generate bug for test modules (#264449).
* .pythoscope became a directory.
* Introduced --init option for initializing .pythoscope/ directory.
* Added a notion of points of entry introducing dynamic analysis.
* Pythoscope can now generate assert_equal and assert_raises type of assertions.
* Implemented no more inspect command blueprint.
* Changed the default test directory from pythoscope-tests/ to tests/.
* Added a tutorial to the README file.

File Description Downloads
download icon pythoscope-0.3.tar.gz (md5) Source code 4
last downloaded 77 weeks ago
Total downloads: 4

0.2.2 release from the trunk series released 2008-09-03

Release information
Release notes:

Full summary of changes:

* Fixed the inner classes bug (#260924).
* Collector appends new data to .pythoscope file instead of overwriting it.
* Test modules are being analyzed as well.
* Using lib2to3 for static code analysis instead of stdlib's compiler module.
* Generator can append test cases to existing test modules. Preserves comments and original whitespace.
* Cheetah is no longer a dependency.
* Renamed 'collect' command to 'inspect'.

File Description Downloads
download icon pythoscope-0.2.2.tar.gz (md5) Source code 3
last downloaded 77 weeks ago
Total downloads: 3

0.2 release from the trunk series released 2008-08-21

File Description Downloads
download icon pythoscope-0.2.1.tar.gz (md5) Source code 3
last downloaded 80 weeks ago
download icon pythoscope-0.2.tar.gz (md5) Source code 3
last downloaded 79 weeks ago
Total downloads: 6