Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » TPTP J Unit Test Suite
TPTP J Unit Test Suite [message #124243] Mon, 25 February 2008 16:45 Go to next message
saran is currently offline saran
Messages: 23
Registered: July 2009
Junior Member
Hi All,

Is it possible to pass input values to a test suite when we are trying to
execute a TPTP J Unit Test from the Test Perspective.?

I have a TPTP J Unit with 10 different test methods . Based on the value I
am passing to the Suite it has to execute all the 10 tests are the tests
which I mentioned.

Please let me know.

Thanks

Saran
Re: TPTP J Unit Test Suite [message #124363 is a reply to message #124243] Tue, 26 February 2008 06:19 Go to previous message
Paul Slauenwhite is currently offline Paul Slauenwhite
Messages: 970
Registered: July 2009
Senior Member
In your case, you should modify the behaviour of the test suite (see the
Behaviour tab of the JUnit test suite editor) to select which test method
get invoked when executed.

You could set an environment variable and modify your JUnit test code to
change the test method invocations based on that environment variable, but I
would strongly recommend the first option.

PS
"Saran" <saravanan.subramanian@cmegroup.com> wrote in message
news:2792278fec2454c86f043eb806704df2$1@www.eclipse.org...
> Hi All,
>
> Is it possible to pass input values to a test suite when we are trying to
> execute a TPTP J Unit Test from the Test Perspective.?
>
> I have a TPTP J Unit with 10 different test methods . Based on the value I
> am passing to the Suite it has to execute all the 10 tests are the tests
> which I mentioned.
>
> Please let me know.
>
> Thanks
>
> Saran
>
>
>
Previous Topic:Launching Test Cases remotely
Next Topic:TPTP 4.4.1 is released!
Goto Forum:
  


Current Time: Thu Jul 24 19:01:10 EDT 2014

Powered by FUDForum. Page generated in 0.01667 seconds