I am writing automated test scripts using ruby. I have written two
I have written some methods both the files. When one of the methods of
test_one.rb is running, If a condition fails, the control should exit
from test_one.rb and should continue with test_two.rb.
I tried with “exit” method. But it exits from the whole(i.e -
test_two.rb is not executed). I want to exit from the test_one.rb and
continue with test_two.rb.
Any of your suggestion is appreciated.
Thanks in advance…