Pythoscope, the unit test generator

News and announcements

Pythonscope 0.3.1 Release Notes and Funding Request

Written for Pythoscope by Paul Hildebrandt on 2008-10-13

Pythoscope, the Python unit test generator, is growing and maturing. Over the last three months we've made pretty incredible progress. We've had a full time developer and part time project manager.

Where we are:
Technical
* Static analysis of code. With this we can generate and maintain unit tests stubs. Just with this feature it's very usable and valuable.
* Dynamic analysis of code. With user provided code entry points we run the code and generate unit tests with inputs and testable results. There are LOTS of things to added to this feature. We've started and we have working cases.
* We have lots of tests in our code. We believe strongly in testing. We would be kinda hypocritical otherwise. :)
Organizational:
* Web site is in a pretty good state. (http://pythoscope.org)
* We are setup on PyPI for your easy_install convenience. (http://pypi.python.org/pypi/pythoscope/)
* We are using Launchpad to host our code so anyone can see it and contribute. (https://launchpad.net/pythoscope)
* We are using Google Groups for our conversations. (http://groups.google.com/group/pythoscope)
* We use the MIT license so big companies won't fear using us.

Where we are going:
* We've have a roadmap! (https://launchpad.net/pythoscope/trunk/+milestones) While launchpad's blueprint/milestone system isn't perfect it does give us a way to show everyone what we are thinking.
* Please inform us of your needs. It helps guide us.

What do we need:
* We've made good progress mainly because we were lucky enough to have had sponsored development most of the time. Not all of it was but having some financial support was what made the progress so fast.
* We have a contribute link off our main page. (http://pythoscope.org/how-to-contribute) There are lots of ways to contribute, most are not financial.
* Financial support. This is just Paul speaking here: We are trying to get enough financial support to keep Michal, the main developer, focused on the project. He is an amazing developer but still requires money for eating and stuff. The amount of work he can get done when he is dedicated is amazing. The money will be used to keep him focused. Funding doesn't have to come from one source. Anything is welcome.
* Please feel no pressure to give money or guilt for not giving. That would make us feel bad. We really want you to use the product. We are just trying to present a way for companies to give back to an open source product they may use. We like it when companies support open source. :)
* What if your company/project wants to use Pythoscope and not contribute at all? Remember by using it you ARE contributing. :) Please use it, we like that. Consider letting us know if you are using it, that encourages us. We are still spending lots of our own time working on Pythoscope because we think it's a good idea and can help the Python community. So we do like kind words. :)

Out Latest Release:

Pythoscope 0.3.1 released
-------------------------
This is a bugfix release, featuring better Windows support, more stable dynamic analysis and handling of Python generators. We plan on doing 0.3.2 next week, after which we'll start working on 0.4, capable of generating mocks and much better reconstruction of application objects interaction.

You can download and install the new release of Pythoscope manually from:

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

or use setuptools by executing:

   easy_install pythoscope==0.3.1

Special thanks to Josef (https://launchpad.net/~josef-pktd) and Kent (https://launchpad.net/~ktenney) for their detailed bug reports! This release wouldn't be possible without their support.

For more details on Pythoscope see http://pythoscope.org/ .

Full summary of changes:
* Added implementation of samefile function for Windows (`#271882 <https://bugs.launchpad.net/pythoscope/+bug/271882>`_).
* Fixed wrong indentation bug (`#271892 <https://bugs.launchpad.net/pythoscope/+bug/271892>`_).
* Made lib2to3.pgen2.parse.ParseError pickable (`#271904 <https://bugs.launchpad.net/pythoscope/+bug/271904>`_).
* Added `support for Python generators <https://blueprints.launchpad.net/pythoscope/+spec/handle-python-generators>`_.
* Fixed static inspection of functions having attributes with default values (`#275459 <https://bugs.launchpad.net/pythoscope/+bug/275459>`_).

Pythoscope Supported by Disney Animation Studios

Written for Pythoscope by Paul Hildebrandt on 2008-09-28

Pythoscope.org would like to thank Disney Animation Studios (http://disneyanimation.com) for their generous support. Without which Pythoscope.org wouldn't have been able to get off the ground.

Read more

Pythoscope demonstrated at SoCal Python Interest Group

Written for Pythoscope by Paul Hildebrandt on 2008-09-18

Michal demonstrated pythoscope to a packed room at the September meeting of the Southern California Python Interest Group Meeting. It's documented under our events section here: http://pythoscope.org/sept-18-2008-socal-python-interest-group-meeting-demonstration

Updated on 2008-09-23. Read more

Pythoscope 0.3 released

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

After two more weeks and more than 80 checkins Pythoscope is ready for another release. You'll find lots of fun stuff in this release, the most important one being the introduction of the dynamic analysis. From now on Pythoscope can generate actual test cases, with real assertions of your application code.

To get you started we prepared a basic tutorial, available at http://pythoscope.org/documentation .

We're very excited about this release and hope you'll find it much more useful than the previous ones. Let us know what you think and let the bugreports flow!

Full summary of changes:

* Fixed generate bug for test modules (`#264449 <https://bugs.launchpad.net/pythoscope/+bug/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 <https://blueprints.launchpad.net/pythoscope/+spec/remove-inspect-command>`_.
* Changed the default test directory from pythoscope-tests/ to tests/.
* Added a tutorial to the README file.

Pythoscope 0.2.2 released

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

This release contains both bug fixes and new features. Our recent development focused on answering a question "how can I use Pythoscope continuously"? As a form of an answer, from now on Pythoscope analyzes test modules and uses this information to avoid generating duplicate test cases. It can also safely append new test cases to existing ones, without overwriting any modifications a user may have made so far.

Please note that this release is not backwards-compatible in regards to .pythoscope file, so be sure to remove any old .pythoscope files generated by 0.2.1 or earlier before using the new version.

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

610 of 13 results