davidhalter/jedi — pull request #231 by tkf (2013-05-22 22:06:29+00:00)
Title: Add sith.py, a script for random smoke test

```
% ./sith.py --help
usage: sith.py [-h] [--record RECORD] [--pdb] [--ipdb] {random,redo,show} ...

Sith attacks (and helps debugging) Jedi.

Randomly search Python files and run Jedi on it. Exception and used
arguments are recorded to ``./record.josn`` (specified by --record)::

sith.py random

Redo recorded exception::

sith.py redo

Fallback to pdb when error is raised::

sith.py --pdb random
sith.py --pdb redo

positional arguments:
{random,redo,show}
random Randomly run Script().() against files under
.
redo Redo recorded attack.
show Show recorded errors.

optional arguments:
-h, --help show this help message and exit
--record RECORD Exceptions are recorded in here.
--pdb Launch pdb when error is raised.
--ipdb Launch ipdb when error is raised.
```

fixes #128