Fletch wrote:

> I have been looking at using WATIR over the past couple of days, and have 
> designed a couple of tests, however, in certain tests, if an assertion is 
> not true, then I want to jump to another point in my script.
>
> Is this possible?

Just say if instead of assert.

However, terms like "jump", "skipping tests", and "assertion is not true" 
make us wonder if your tests are narrow, encapsulated, robust, and isolated.

If your tests are run-on, if they walk the program thru many of its states, 
then your tests are not helping to decouple your code.

Are most of your tests on the layer under the GUI?

-- 
  Phlip
  http://www.greencheese.us/ZeekLand <-- NOT a blog!!!

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

Reply via email to