Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » AGR: Test case continuation in case of Verification Hook indicates a failure
AGR: Test case continuation in case of Verification Hook indicates a failure [message #80724] Tue, 15 August 2006 07:46 Go to next message
Eclipse UserFriend
Originally posted by: ffr.softwareag.com

Hi,

test case execution does not stop after a Verification Hook indicates a
failure. Is this intended or is it a bug? I just wanted to add some
Verification Hooks at the beginning of a test case to check whether or not
some preconditions are met. Even if those VHs indicate failures, the
subsequent test script commands are executed.
Re: Test case continuation in case of Verification Hook indicates a failure [message #80743 is a reply to message #80724] Tue, 15 August 2006 14:01 Go to previous message
No real name is currently offline No real nameFriend
Messages: 404
Registered: July 2009
Senior Member
It was intentionally designed to continue even after the failure of a
verification hook. The reason was that it would give a test case a chance
to tear down the environment that it setup. Tearing down the environment
will ensure that subsequent test cases wouldn't fail as a result of the
footprint left behind by the failed test case.
I can see that your use case is valid too. There is an enhancement open
that will allow users to specify test case invocations whose failure will
result in the interruption of the test suite's execution:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=153352



"Frank Froehlich" <ffr@softwareag.com> wrote in message
news:ebru5k$8pr$1@utils.eclipse.org...
> Hi,
>
> test case execution does not stop after a Verification Hook indicates a
> failure. Is this intended or is it a bug? I just wanted to add some
> Verification Hooks at the beginning of a test case to check whether or not
> some preconditions are met. Even if those VHs indicate failures, the
> subsequent test script commands are executed.
>
>
>
Previous Topic:TPTP 4.2 and JDK 1.6
Next Topic:Where can I find new agent controller for AIX and Solaris ?
Goto Forum:
  


Current Time: Sat Nov 09 05:48:31 GMT 2024

Powered by FUDForum. Page generated in 0.03688 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top