Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » Using TestRunner, how to run a TestSuite in parallel (for diff sets of values passed in cmd args)(With TestRunner, how to run same test suite for different sets of data in parallel where data is supplied from command line)
Using TestRunner, how to run a TestSuite in parallel (for diff sets of values passed in cmd args) [message #1755454] Fri, 03 March 2017 13:36 Go to next message
Shilpee Kh is currently offline Shilpee KhFriend
Messages: 3
Registered: August 2016
Junior Member
I want to run a test suite from command line using test runner for different sets of values(context data) where value is supplied as command line argument.

For example -

1. "MyTestSuite" as 10 tests

2. All tests expect some values to be set as context param and it is supplied from cmd line like -autVMArgs "-myProperty=A"

3. I am setting propertyA as a global variable by executing a default context script so that the variable can be used in the tests.

global [val myProperty[substitute-variables "${system_property:myProperty}"]]

4. I want to execute the same test suite MyTestSuite for few other values like
for "-myProperty=B" then for "-myProperty=C"

Is there a way to set all these values somewhere so that test runner can pick up those and execute "MyTestSuite" for each values (A,B,C) in parallel or even one after the other ?

Or is there a way to dynamically create a SuperContext and apply it to the test suite based on cmd line arg values ?
Re: Using TestRunner, how to run a TestSuite in parallel (for diff sets of values passed in cmd args [message #1759343 is a reply to message #1755454] Mon, 10 April 2017 16:52 Go to previous message
Andrey Sobolev is currently offline Andrey SobolevFriend
Messages: 74
Registered: February 2015
Member
Hi,

Please check https://www.eclipse.org/rcptt/documentation/userguide/contexts/super/ a super context feature.
Values in case of Super context should be specified as Parameter contexts.

Best regards,
Andrey.
Previous Topic:Can we run 2 RCPTT instance simultaneously?
Next Topic:using RCPTT with RAP to simulate concurrent users
Goto Forum:
  


Current Time: Wed Aug 15 05:02:34 GMT 2018

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

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

Back to the top