Hi Brian, 

I am very interested.
Can you show me more of the setup?

thanks

Luc


On Saturday, June 2, 2012 8:27:16 AM UTC-4, BrianParker wrote:
>
> Unless I'm mistaken, I think using the multiconfiguration job type would 
> require that the tests to run and the distribution of those tests is static 
> (at job config time) rather than dynamic (determined at job runtime). 
>
> If you need it to be dynamic, you could do something like this using the 
> Parameterized Trigger plugin.  Create a "test runner" job which accepts the 
> tests to run as a parameter (for example a string comma separated list of 
> tests).  The "test runner" job should be configured to execute 
> concurrently. A "parent job" uses a "parameter factory" to trigger the 
> "test runner" multiple times, in parallel (concurrently).  There is an 
> out-of-the-box "parameter factory" that looks for property files, that may 
> work for you.  A build step that runs prior to the trigger (in the parent 
> job), will need to calculate the number to "test runner" jobs to invoke and 
> which tests they should each execute.  Also, you'll have to collect the 
> test results.
>
> I hope that made sense.  There are a lot of details left out that would 
> depend on the actual test framework you are using. Using that technique, we 
> dispatch the execution of around 200 JBehave stories (executing webdriver) 
> to the same number of parallel "test runner" invocations running across a 
> Jenkins grid of slaves (not Selenium grid).  We have customized versions of 
> the parameterized trigger and copy artifacts plugins to achieve our 
> particular needs.  A test run that would take over 10 hours serially can be 
> finished in under 20 mins.
>  
> Cheers,
>
> Brian
>
> On Mon, May 28, 2012 at 1:29 PM, Harsh Kumar <harsh...@gmail.com<javascript:>
> > wrote:
>
>> Hi,
>> I intend to do parallel runs of my tests in multiple machines. 
>> For eg, i have a test suite of 10,000 tests. I have 100 test machines and 
>> hence if i could divide these 10,000 tests among 100 machines and run that 
>> would save me time.
>>
>> Do you think there is a plug-in to do something similar or do i need to 
>> write one.
>>
>>
>> Regards,
>> Harsh Kumar
>>
>>
>>
>> On Mon, May 28, 2012 at 11:22 PM, Sami Tikka <sjt...@gmail.com<javascript:>
>> > wrote:
>>
>>> Of course, you can split the tests into groups and use e.g. 
>>> Multiconfiguration job to run the multiple test sets in multiple slaves at 
>>> the same time.
>>>
>>> -- Sami
>>>
>>> Harsh <harsh...@gmail.com <javascript:>> kirjoitti 28.5.2012 kello 
>>> 11.43:
>>>
>>> > Hi,
>>> > I have UI Automated Tests which i intend to run in parallel and need a
>>> > plug-in for that. DistTest looks to run only jUnit test cases in
>>> > parallel. Can you suggest a plugin.
>>> >
>>> > Regards,
>>> > Harsh
>>>
>>
>>
>  

Reply via email to