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 13:08 Go to next message
Eclipse User
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 07:02 Go to previous message
Paul Slauenwhite is currently offline Paul Slauenwhite
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: Fri Jul 25 14:27:05 EDT 2014

Powered by FUDForum. Page generated in 0.02210 seconds