[twill] Twill/Flunc blocks

Titus Brown titus at caltech.edu
Wed Oct 24 00:24:29 PDT 2007


On Fri, Oct 19, 2007 at 04:11:48PM -0500, Ian Bicking wrote:
-> Just throwing an idea out for Twill/Flunc (Flunc is our test runner that 
-> uses Twill).  Our basic problem: we need some higher-level constructs to 
-> generalize our tests.  So what if we add Tcl style strings?

I've never heard of flunc - cool!

-> For people who don't know Tcl -- probably most of you -- it has a string 
-> literal syntax that looks very much like a programming structure.  But 
-> it's actually just a string literal syntax.

I actually wrote some large programs in Tcl, because of the whole Phil
Greenspun/Arsdigita thingamajiggy.  That's more or less what got me into
serious Web programming ;).

Anyway...

[ ... specific proposal elided ... ]

A more philosophical question for you: why aren't you using Python
instead of "twill script"?  Is it for comprehension and authoring
reasons?  My usual answer to people who want 'if' statements in twill is
to suggest that they either write an extension function or just call
twill from Python.

Not that I'm rejecting the idea, just curious!

cheers,
--titus



More information about the twill mailing list