News and announcements

Pythoscope google group open

Written for Pythoscope by Michal Kwiatkowski on 2008-09-02

Created a google group for discussion of usage and development of Pythoscope. To subscribe send email to pythoscope-subscribe@googlegroups.com or visit http://groups.google.com/group/pythoscope/.

Pythoscope 0.2.1

Written for Pythoscope by Michal Kwiatkowski on 2008-08-22

Contains a packaging bug fix, which prevented users from using the tests cases generator and running internal pythoscope tests.

Pythoscope 0.2 is out

Written for Pythoscope by Michal Kwiatkowski on 2008-08-21

I'm proud to present you with a first version of Pythoscope, your
favorite unit test generator. To install it, simply do:

  $ easy_install pythoscope

You can also download a source package from here:

  http://pythoscope.org/local--files/download/pythoscope-0.2.tar.gz

You can use the tool through a single "pythoscope" command. To analyze
one of your projects, type:

  $ pythoscope collect path/to/your/project/

It's only doing static analysis, and doesn't import your modules or
execute your code in any way, so you're perfectly safe to run it on
anything you want. After that, a file named ".pythoscope" will be
created in the current directory. To generate test stubs based on your
project, select files you want to generate tests for:

  $ pythoscope generate path/to/your/project/specific/file.py
path/to/your/project/other/*.py

Test files will be saved into "pythoscope-tests" directory. Test cases
are aggregated into TestCase classes. Currently each production class
and each production function gets its own TestCase class. Any comments
on any alternative arrangement are welcome.

Some of the classes and functions are ignored by the generator - all
which name begins with an underscore, exception classes, and some
others. This behavior is currently hard-coded, so let me know if you
have any ideas about how to make it configurable.

Generator itself is configurable to some extent, see:

  $ pythoscope generate --help

for more information on available options. Oh, and BTW, the bug tracker is here:

  https://bugs.launchpad.net/pythoscope

in case you need it. ;-)

Updated . Read more

1113 of 13 results

Announcements