use 1.5:

 at_exit { close_browser() }

or

  at_exit { IE.close_all }

dzen wrote:
> i have mass of ruby tests placed in some dirs. i have and a main ruby test 
> from where i requre all of the other tests. but when i start the main test, 
> after it finish i have a huge quantity of browsers opened. i cant put 
> close_browser() method at the end of the tests because some of the tests 
> require other tests i mean i have something like:
> test1.rb
> test2.rb
> test11.rb -> require test1.rb
> test12.rb -> require test1.rb
> main.rb -> require test1, test2, test11 and test12
> and i need to run all of the tests but not only test2, test11 and test12
>
> any ideas how could i go through this?
>   

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to