Yup, you have a good memory. Anyway, it is a Kernel method and it's
documentation is here:
http://ruby-doc.org/core/classes/Kernel.html#M005932

On Apr 9, 1:12 am, Paul Rogers <paul.rog...@shaw.ca> wrote:
> at_exit do
>    puts "Youve ended!"
> end
>
> might be what you need ( check the syntax, long time since Ive used it )
> I also dont know what happens with multiple requires files etc ( I have a
> feeling they may go into a queue and all of them executed)
>
> Paul
>
> On Thu, Apr 8, 2010 at 2:28 PM, Shlomit Gazit <shlomitpatr...@gmail.com>wrote:
>
>
>
>
>
> > Is there a way to call a module in watir test that will always run at
> > the end of the test no matter what?
> > I thought teardown would do that but I was wrong.
> > The aim is to call a module that is checking if the test has failed or
> > not (by a variable) and send email accordingly.
> > Since I was disappointed from all Integration servers to run watir
> > tests, I thought to write something of my own to determine if watir
> > test failed or not.
>
> > Any idea how to call this kind of method that will always executes at
> > the end of the test no matter what?
>
> > Thank you, Shlomit.
>
> > --
> > Before posting, please readhttp://watir.com/support. In short: search
> > before you ask, be nice.
>
> > You received this message because you are subscribed to
> >http://groups.google.com/group/watir-general
> > To post: watir-general@googlegroups.com
>
> --
> Before posting, please readhttp://watir.com/support. In short: search before 
> you ask, be nice.
>
> You received this message because you are subscribed 
> tohttp://groups.google.com/group/watir-general
> To post: watir-general@googlegroups.com

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com

To unsubscribe, reply using "remove me" as the subject.

Reply via email to