Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » failure running AGR
failure running AGR [message #100827] Tue, 12 June 2007 08:09 Go to next message
Eclipse UserFriend
Originally posted by: eitanush.gmail.com

Hi,
I recorded a few tests and added them to the behavior of a testsuite.
When I run the testsuite, if one of the testcases fails, it sometimes
causes the rest of the tests to fail, even though they should pass.
The problem is, that when I record the test, I create someproject/s and at
the end of the test I delete these project/s. When I run the testsuite, if
it fails on some testcase, the project is not deleted, and then in the
next testcase it sometimes refers to the project that was supposed to be
deleted, instead of the project that was created in the current testcase.
Is there any solution for this problem?
Re: failure running AGR [message #100852 is a reply to message #100827] Tue, 12 June 2007 13:49 Go to previous message
Liz Dancy is currently offline Liz DancyFriend
Messages: 77
Registered: July 2009
Member
Hi Anat,

A good solution to this problem is to have each test case leave as little of
a footprint as possible. You can do this by using setup and teardown test
cases surrounding each "interesting" test case. That way, if your test
execution fails the project will still be deleted and the next setup method
should still be able to execute, allowing your actual test case to pass or
fail independently.

Sincerely,

Liz Dancy

"Anat Levi" <eitanush@gmail.com> wrote in message
news:3e5512c9e73415079b9e7e3369028bf8$1@www.eclipse.org...
> Hi,
> I recorded a few tests and added them to the behavior of a testsuite.
> When I run the testsuite, if one of the testcases fails, it sometimes
> causes the rest of the tests to fail, even though they should pass.
> The problem is, that when I record the test, I create someproject/s and at
> the end of the test I delete these project/s. When I run the testsuite, if
> it fails on some testcase, the project is not deleted, and then in the
> next testcase it sometimes refers to the project that was supposed to be
> deleted, instead of the project that was created in the current testcase.
> Is there any solution for this problem?
>
Previous Topic:profiling remote java application
Next Topic:Execution flow does not show anything
Goto Forum:
  


Current Time: Thu Sep 26 06:24:15 GMT 2024

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

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

Back to the top