Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Substitution of Datapool contents with Deployment?
Substitution of Datapool contents with Deployment? [message #117754] Fri, 09 November 2007 18:08 Go to next message
Eclipse UserFriend
Originally posted by: don.l.clare.gmail.com

Hi,

I am looking into extending TPTP, and interested in the ability to pick
different data to populate a datapool used in a test, configurable in
the Deployment. The use case would be to have a suite of tests which
could use a minimal set of test data for a "quick" regression, or an
exhaustive set of test data for a more rigorous test run, without having
separate test code (referencing separate datapools) for each.

Is there a way to do this within the current framework?

Thanks,

Don
Re: Substitution of Datapool contents with Deployment? [message #117993 is a reply to message #117754] Mon, 12 November 2007 12:02 Go to previous message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 970
Registered: July 2009
Senior Member
Hi Don,
The current design has datapools tightly coupled with the test asset
(e.g. test class or test suite). To satisfy your use case, you would either
have to manually swap the datapools or set a system property (see
http://help.eclipse.org/help33/topic/org.eclipse.hyades.test .doc.user/tasks/tcreateartifact.htm)
and have your JUnit/URL tests use a different datapool based on the value of
the system property (note, this will not work for AGR test suites since the
datapool is linked by the test suite).

Paul
"Don" <don.l.clare@gmail.com> wrote in message
news:fh27h3$r5h$1@build.eclipse.org...
> Hi,
>
> I am looking into extending TPTP, and interested in the ability to pick
> different data to populate a datapool used in a test, configurable in the
> Deployment. The use case would be to have a suite of tests which could
> use a minimal set of test data for a "quick" regression, or an exhaustive
> set of test data for a more rigorous test run, without having separate
> test code (referencing separate datapools) for each.
>
> Is there a way to do this within the current framework?
>
> Thanks,
>
> Don
Previous Topic:Log view extension point
Next Topic:Create a Deployment programmatically
Goto Forum:
  


Current Time: Sun Dec 21 11:22:54 GMT 2014

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

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