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 Pythoscope. To get started with Pythoscope read the installation instructions and then dive into the tutorial. Current stable version of Pythoscope is 0.4.3, released on February 28th 2010. |
Example
Take your code… | …and admire your new test suite. | |||
|
tests/test_old_python.py:
import unittest class TestOldPython(unittest.TestCase): def test___init__(self): # old_python = OldPython(age) assert False # TODO: implement your test here def test_hiss(self): # old_python = OldPython(age) # self.assertEqual(expected, old_python.hiss()) assert False # TODO: implement your test here if __name__ == '__main__': unittest.main() |
News
Development
Architecture
- Configuration
- Code Inspector
- Test Generator
- Internal Information Storage
- Shared State
- Points of Entry
Research Materials
- Initial Research
- Pythoscope proposal
- Hard-to-Test Code
- Side Effects
- Dynamic Tracing
- Thesis using Pythoscope: "Capture and analysis of side effects in a running Python program for the purpose of unit test generation"
Blueprints
Those are specifications which were wikified, for a full list see blueprints on Launchpad.
- Object Attributes Side Effects last edited 01 May 2009 09:36 by ruby
- Improving Performance last edited 25 Apr 2009 10:43 by ruby
- Improve Information Storage Performance last edited 20 Apr 2009 14:42 by ruby
- Keeping Tests Readable last edited 13 Feb 2009 14:20 by ruby
- Shared State last edited 29 Nov 2008 19:29 by paulhildebrandt
- Don't Use Pickle For Object Serialization last edited 24 Oct 2008 07:20 by ruby
Events
Credits
Idea for this project came from Paul Hildebrandt and Titus Brown. Most of the code so far has been written by Michal Kwiatkowski.
About this page
This is a wiki (see What is a Wiki Site?), so if you want to edit pages, you have to register. If you're new to wikis learn how to edit pages first. You may also want to check out a list of site members.
You may also want to check out the recent changes or list all pages.