On Tue, Mar 17, 2009 at 4:10 PM, Edward K. Ream <[email protected]> wrote:

> Ville, could @cl have any part to play in this?  If not directly, then as a
> starting point for further invention?

Not really, but:

Isn't this just about calling a script explicitly before running the
tests? Or is the deal that we want to preserve the namespace of the
runned script?

In ILeo, this would happen through wb.node_name.ipush(). The functions
declared etc. would be left around in the ipython user namespace.

For leo, I think it would be something along the lines of:

pl = c.find_h('@button TomsTest')
pos = pl[0]
c.executeScript(pos)    # or whatever is the way to do ctrl+B on a
specified position

# test cases...

c.executeScript(pos)    # or whatever is the way to do ctrl+B on a
specified position

# more test cases...

-- 
Ville M. Vainio
http://tinyurl.com/vainio

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to