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.
Current stable version of Pythoscope is 0.4.3, released on February 28th 2010.
|Take your code…||…and admire your new test suite.|
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()
- Code Inspector
- Test Generator
- Internal Information Storage
- Shared State
- Points of Entry
- 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"
Those are specifications which were wikified, for a full list see blueprints on Launchpad.
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.