[TIP] Pythoscope proposal
constant.beta at gmail.com
Wed Aug 20 11:19:16 PDT 2008
2008/8/19 Ryan Freckleton <ryan.freckleton at gmail.com>:
> This is really awesome!
> Two other projects you may like for reference are pester
> [http://jester.sourceforge.net/] a "mutation tester" for testing
> tests, and and rope [http://rope.sourceforge.net/] a refactoring
> library that does static type inference, and inference based on
> running unit tests. Pester probably wont be useful until much later in
> the project, but it looks like the rope inferencing and code analysis
> may be useful.
Rope indeed looks interesting. It uses the new _ast module and seems
to implement quite a few refactorings. Pester isn't that impressive,
as it works directly on the source code level and its scope is very
limited. In terms of code generation and mutation I'd like to go more
into paths of such tools as QuickCheck. See "Quickcheck-style fuzzy
testing, deriving code contracts" on
http://pythoscope.org/test-generator for more thoughts on that.
More information about the testing-in-python