[twill] I wish that code 200 would call show on failure

Matthew Wilson matt at tplus1.com
Thu Jan 31 10:56:44 PST 2008

I have some twill tests like this:

    go /somepage
    code 200
    find blah

I put the show in there so that in the event that the page returned a
500, I get to see the debugging information.

However, if the code 200 test passes, but the find blah test fails, I
still see all that HTML, which isn't helpful.

How can I only execute show when code 200 fails?



Programming, economics, gardening, life in Cleveland.

More information about the twill mailing list