Test duration

The Pulse Support forums are here so that you can ask questions or leave comments related to pulse. They are watched by Zutubi staff who will endeavour to answer your questions promptly.

Test duration

Postby scoobydoo on Thu Jul 16, 2015 7:03 pm

We have some tests that take a long time to run. While important it's not vital we run them every build. Is there a way to run certain tests during off peak hours?
Posts: 28
Joined: Tue Oct 14, 2014 6:39 pm

Re: Test duration

Postby jason.sankey on Fri Jul 17, 2015 12:21 am


There is no way to get Pulse itself to run a subset of your tests, because it doesn't really understand how the tests are run. You would need to implement some extra logic in your build scripts to do this part. Pulse may be able to help feed in a parameter (or environment variable) to the build so your script knows which selection of tests to run, though. For example, you could have a property called fast.test defined on your project and set to true (passed to your build either as a command line argument or environment variable). Then you could have a nightly cron trigger that overrides this property in Pulse with value false, so that all tests are run for the nightly build.

Hope that helps,
Posts: 1815
Joined: Sun Apr 30, 2006 12:26 pm

Return to Pulse Support

Who is online

Users browsing this forum: No registered users and 1 guest