Easy Extend
|
|
|
|
Author: Kay
Schluehr Date: 2007-05-16 Version: 0.1 |
1. Introduction
|
Path | EasyExtend/fibers/<fiber-name>/fibercon |
Extension |
eerp |
Command |
Recorded console file |
python
fiber.py --rec |
<fiber-name>.eerp Console name is used as report name. |
python
fiber.py --rec enum
|
<fiber-name>_<count>.eerp where count is the current number of eerp files in the fibercon directory + 1. |
python fiber.py --rec +suffix
|
<fiber-name>_suffix.eerp Freely selectable suffix that is appended to the console name. |
python fiber.py --rec prefix+ | prefix_<fiber-name>.eerp Freely selectable prefix that is prepended to the console name. |
python fiber.py --rec name |
name Arbitrary name without any restrictions. |
Command |
Recorded console file |
python
fiber.py --rec |
<fiber-name>.eerp Console name is used as report name. |
python
fiber.py --rec enum
|
<fiber-name>_<count>.eerp where count is the current number of eerp files in the fibercon directory + 1. |
python fiber.py --rec +suffix
|
<fiber-name>_suffix.eerp Freely selectable suffix that is appended to the console name. |
python fiber.py --rec prefix+ | prefix_<fiber-name>.eerp Freely selectable prefix that is prepended to the console name. |
python fiber.py --rec name |
name Arbitrary name without any restrictions. |
Interrupt
replay (without command execution) |
?
|
placed before prompt as in ?>>> 1+2
|
||
Continue replay | ! | first character typed on the prompt >>> ! |
||
Interrupt replay
(with command execution) |
?! | placed before prompt as in ?!>>> 1+2 Command 1+2 is executed before switching in interactive mode |
__________________________________________________________________________________________________________ Gallery On Python 2.4.3 Stackless 3.1b3 060516 (#69, Sep 7 2006, 12:45:31) [MSC v.1310 32 bit (Intel)] Fiber documentation: www.fiber-space.de/EasyExtend/doc/gallery/gallery.html Replay session Gallery.eerp __________________________________________________________________________________________________________ gal> import sys gal> sys.last_value Traceback (most recent call last): File "<input>", line 1, in ? AttributeError: 'module' object has no attribute 'last_value' ?!gal> assert raises(AttributeError, lambda: 1/0) # assertion 1 Traceback (most recent call last): File "<input>", line 1, in ? File "C:\lang\python24\lib\site-packages\EasyExtend\eeconsole.py", line 482, in raises func(*args, **kwd) File "<input>", line 1, in <lambda> ZeroDivisionError: integer division or modulo by zero gal> ! gal> assert raises(ZeroDivisionError, lambda: 1/0) # assertion 2 gal> __________________________________________________________________________________________________ --------------------. Recorded assertions | ------------------------------------------------------------------------------------------------- Status |eerp ln|repl ln| Assertion -------+-------+-------+------------------------------------------------------------------------- ERROR | 11 | 14 | assert raises(AttributeError, lambda: 1/0) OK | 12 | 21 | assert raises(ZeroDivisionError, lambda: 1/0) -------+-------+-------+-------------------------------------------------------------------------- |
exception, func, *args, **kwd) |