List All Pages
A part of the Pythoscope system responsible for gathering information about a legacy system. Design rules Source code of the system should be a main reference point. We should avoid having...
As of now Pythoscope doesn't have any configuration mechanism. This page tracks different variables that may be part of the configuration, once implemented. new_test_modules_name_template A string...
Please change this page according to your needs
Usage You can use the tool through a single pythoscope command. To prepare your project for use with Pythoscope, type: $ pythoscope --init path/to/your/project/ It's only doing static analysis,...
Information collected during dynamic analysis shouldn't include verbatim application objects. Instead, only relevant aspects of live objects should be remembered and contained within Pythoscope...
Easiest way to get Pythoscope is via setuptools: $ easy_install pythoscope You can also download a source package from pythoscope-0.4.3.tar.gz or get a copy of a development branch using...
Notes We may have potential garbage collection problems, as we'll be storing references to all function call inputs and outputs. We may unintentionally crash programs that work OK without tracing,...
General What is Pythoscope? Pythoscope is a unit test generator for programs written in Python. It means it can produce a test suite that captures current behavior of your application (so called...
See "Hard-to-Test Code" on xUnit Patterns and chapter 9 ("I can't get this class into a test harness") of "Working Effectively with Legacy Code". Cause: Highly Coupled Code Functions/methods that...
Use it The best way to contribute at this early point of development is to simply download and use the tool on your own or any other code you happen to have. After that let us know what you think,...
If you are allowed to edit pages in this Site, simply click on edit button at the bottom of the page. This will open an editor. To create a link to a new page, use syntax: [[[new page name]]] or...
Bigger projects with lot of modules and objects inside them may spawn big pickle files (even 10 Mb are problematic), which makes pythoscope startup really slow. Problem with pickle is twofold:...
Static analysis Currently static analysis in Pythoscope is slow for (at least) three reasons: all files are inspected sequentially, instead of concurrently lib2to3 library we use for parsing...
Before starting the work on Pythoscope we searched for tools that could do automatic test generation for Python code. There are many testing tools for Python on the market, and a lot of them are...
Each information should have its source defined (e.g. static, dynamic with an entry point listed), along with a time it was last updated. Or maybe even a history of all changes? We won't be able to...
One of the causes of a hard-to-test code listed by Gerard Meszaros in his book "xUnit Test Patterns" is highly coupled code. From the point of view of Pythoscope the problem is not so much on...
Update distribution files Update version in the pythoscope/__init__.py file and a download link in README. Update Changelog file with a list of changes since last release (consult the list of...
After this change Pythoscope should be able to trace this code: class Something: def some_method(self): self.attr = 42 and generate a following test case: def...
User have to provide points of entry, so dynamic analyzer can kick in. Points of entry can be just a function location with arguments, or bigger pieces of code including setup & teardown.
This is the original proposal that appeared on testing-in-python mailing list on August 18th 2008. Signed off by: Titus Brown Grig Gheorghiu Paul Hildebrandt Michal Kwiatkowski Our mission...
Who can join? Anyone interested in pythoscope willing to help in its development. Join! So you want to become a member of this site? Tell us why and apply now!
What is Pythoscope Pythoscope is an open source tool that will automatically or semi-automatically generate unit tests for Python code. If you have a system written in Python and value testing,...
Disney Animation Studios hosted the September meeting of the Southern California Python Interest Group. Paul Hildebrandt opened the meeting and showed that BOLT trailer and shared that lots of...
Disney Animation Studios hosted the September meeting of the Southern California Python Interest Group. Paul Hildebrandt opened the meeting and showed that BOLT trailer and shared that lots of...
Can be described in a uniform way using a configuration file in such a way that the test generator can figure out if given code run changed the given state or...
Home Download Documentation Tutorial Discussion group Report a bug Contribute Upcoming release (0.5) Pythoscope on Launchpad Pythoscope on PyPI Developed with the support of: Walt Disney...
Sources of side-effects in Python internal module import (think not import safe modules) object attributes class variables (e.g. implementing singleton pattern preserving identity) global...
Members: Moderators Admins
Southern Califorina Python Interest Group Meeting Demonstration Sept 22 2008 The SoCal Python Interest Group was hosted by…
Part of the system responsible for generating test cases. Test stubs/templates Using information on usage patterns and data from static analysis we can easily generate test stubs for each...
example menu example item 1 example item 2 contact
Let's say you're working on this old Python project. It's ugly and unpredictable, but you have no choice but to keep it alive. Luckily you've heard about this new tool called Pythoscope, which can...
According to Wikipedia, the world largest wiki site: A Wiki ([ˈwiː.kiː] <wee-kee> or [ˈwɪ.kiː] <wick-ey>) is a type of website that allows users to add, remove, or otherwise edit...
What is Pythoscope? Pythoscope is a unit test generator for programs written in Python. It's open source, licensed under the MIT license. See the FAQ for commonly asked questions about...
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License