P
Phlip
Rubies:
Unit tests should run as silent, fast, and unattended as possible. Even sick
GUI tests.
So the page http://wtr.rubyforge.org/watir_user_guide.html contains this
interesting line:
'Run the tests with a "-b" option if you don't want the browser to be
visible. ex. myTest.rb -b'
Imagine my naivete, typing a -b onto the end of the command line invoking my
test batch (using the standard Unit Test stuff under AutoRunner). The
browsers still pop up.
How to suppress them from within the code?
Unit tests should run as silent, fast, and unattended as possible. Even sick
GUI tests.
So the page http://wtr.rubyforge.org/watir_user_guide.html contains this
interesting line:
'Run the tests with a "-b" option if you don't want the browser to be
visible. ex. myTest.rb -b'
Imagine my naivete, typing a -b onto the end of the command line invoking my
test batch (using the standard Unit Test stuff under AutoRunner). The
browsers still pop up.
How to suppress them from within the code?