ok let me try to explain further.

I have a set of unit tests , lets say 3000. 

Some of the tests have setup() and teardown() , and takes them ( 5 minutes 
approx ) to run.
Now i want to run all these tests in jenkins , so i can collect and report on 
results.

SInce it takes more then 2 hours, or so to run, i want to segregate these 
tests, so i have individual tests that run under 5 seconds go in one batch, 
versus those individual tests that take more than 30 seconds, go to another job 
in the pipeline.

so we dont have to wait for ALL tests, to finish,a nd THEN get the results.

In Java / JUnit, we have something like:

@Test ( groups = {"integration-tests"})

is there something in Prove ? or TAP ? or anything else in Perl, that i can use 
annotations to separate slow tests, from fast tests.

I hope its a bit more clear now.

Thanks,
-Kamal.




>________________________________
> From: Adam PAPAI <w...@wooh.hu>
>To: jenkinsci-users@googlegroups.com 
>Sent: Tuesday, April 30, 2013 2:48 PM
>Subject: Re: Running Slow VS Fast TEsts in Jenkins
> 
>
>
>Can you a bit more 
detailed? What is the question? What do you mean "how to run slow unit 
tests"?
>
>You should run them just like the fast ones. How would you like to 
separate them? Why is it a question?
>
>
>Kamal Ahmed
>>April 30, 2013 
6:28 PM
>>Hi,
>>What is the best way to 
run slow unit tests, as compared to the ones that take longer to run.
>>Keeping in mind that my Application is Perl based. and i am using maven to 
>>run 
the tests.
>>
>>
>>Thanks,
>>-Kamal.
>>
-- 
>>You received this message because you are subscribed to the Google 
Groups "Jenkins Users" group.
>>To unsubscribe from this group and stop receiving emails from it, send 
an email to jenkinsci-users+unsubscr...@googlegroups.com.
>>For more options, visit https://groups.google.com/groups/opt_out.
>> 
>> 
>>
>
>-- 
>Adam PAPAI
>E-mail: w...@wooh.hu
>Phone: +3630 3355735
>Web: http://www.wooh.hu
>
>
-- 
>You received this message because you are subscribed to the Google Groups 
>"Jenkins Users" group.
>To unsubscribe from this group and stop receiving emails from it, send an 
>email to jenkinsci-users+unsubscr...@googlegroups.com.
>For more options, visit https://groups.google.com/groups/opt_out.
> 
> 
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


<<inline: compose-unknown-contact.jpg>>

Reply via email to