#2 open
bret (at watircraft)

Is there an way to have Assert and/or Should not stop if it fails?

Reported by bret (at watircraft) | March 31st, 2009 @ 02:24 PM | in Backlog

---------- Forwarded message ---------- From: cernenus_1 sqapro@gmail.com Date: Mon, Mar 30, 2009 at 12:30 PM Subject: [watir-framework] Is there an way to have Assert and/or Should not stop if it fails? To: watir-framework@yahoogroups.com

I can see how when you are doing outside in development work, you want your stuff to stop at the first step that's not working.

OTOH when you are running a suite of tests for things like regression tests, and you have steps that have multiple validations, e.g. you have


  THEN xxxx happens
  AND  yyyy also happens
  BUT I don't see zzzz

it would really be nice in the test results to know the status of the other two items if xxxx fails, especially in cases where xxx failing does not preclude the ability to check on the other two, and even more so in cases where seeing zzzz fail would give you a clue as to what went wrong.

Consider for example a scenario of logging out user a and logging in user b, and you are checking that you don't still see user a logged in. Or a scenario dealing with security and combining permissions of multiple roles where you have multiple validations needed to ensure that the system is giving you the right result of the combined permissions.

That or if it can't proceed to the other tests, it would be nice to report them as 'blocked' so we know that it's not that they failed or passed, but that we don't KNOW their status because we couldn't get there.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A framework for web testing.

Shared Ticket Bins

People watching this ticket

Referenced by

Pages