[twill] any outstanding issues?
kozmodawg at yahoo.com
Wed Jan 31 10:32:22 PST 2007
I agree with Bruce in that conditional statements would be awesome,
because I use twill with twill-fork a lot so bring it into a python
script is not an option.
Titus Brown wrote:
>On Mon, Jan 29, 2007 at 11:48:08AM -0800, bruce wrote:
>-> The only problem I've had using twill is a lack of conditional expression.
>-> I'd love to have if/then/else controls inside twill scripts. (Perhaps
>-> there's an obvious way to add this with user defined functions, but I
>-> haven't thought of it).
>I think such features would complicate matters dramatically ;). Python
>is pretty available to twill, and twill's library functions are pretty
>available to Python, so apart from the twill-fork problem you mentioned
>I don't think there's a strong reason to invent yet another language!
>The strongest "theoretical" reason against making the twill language
>more complex is that once you have ifs, thens, fors, and whiles in your
>test scripts, you have to test your test scripts. Thar be dragons.
>twill mailing list
>twill at lists.idyll.org
More information about the twill