[twill] Cleaning stuff up after running twill script

Ethan Jucovy ethan.jucovy at gmail.com
Sat Jan 22 13:42:19 PST 2011


You should take a look at flunc, a test runner that uses twill scripts for
tests, and includes this cleanup feature:



On Sat, Jan 22, 2011 at 3:53 PM, Adam Victor Nazareth Brandizzi <
brandizzi at gmail.com> wrote:

> Hello, all!
> I am using Twill for automatically test an application. It is great!
> However, I've found it cumbersome to execute a cleanup process after
> some test fails. In fact, I use Python and Bash for cleaning the mess
> up.
> Have someone a plan for implementing some kind of "finally" option for
> Twill - I mean, a way to specify that some commands should be executed
> at the end of the script even if the script fails? It is not
> absolutely necessary but seems as a practical functionality.
> Thanks in advance!
> --
> Adam Victor Nazareth Brandizzi
> http://brandizzi.googlepages.com/
> _______________________________________________
> twill mailing list
> twill at lists.idyll.org
> http://lists.idyll.org/listinfo/twill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/twill/attachments/20110122/402e23d8/attachment.html>

More information about the twill mailing list