Substitution of Datapool contents with Deployment? [message #117754] |
Fri, 09 November 2007 18:08 |
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 12:02 |
Paul Slauenwhite Messages: 975 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
|
|
|
Powered by
FUDForum. Page generated in 0.23261 seconds