Hey,

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

http://pypi.python.org/pypi/flunc
 <http://pypi.python.org/pypi/flunc>
http://coactivate.org/projects/flunc/project-home
http://coactivate.org/projects/flunc/project-home/#cleanup-handlers

-Ethan

On Sat, Jan 22, 2011 at 3:53 PM, Adam Victor Nazareth Brandizzi <
[email protected]> 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
> [email protected]
> http://lists.idyll.org/listinfo/twill
>
_______________________________________________
twill mailing list
[email protected]
http://lists.idyll.org/listinfo/twill

Reply via email to