Current time: 10-23-2014, 09:03 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need advice on test priorities
02-21-2013, 09:34 PM
Post: #1
Need advice on test priorities
Hi Pat,

I'll shortly be setting up a private instance which will be used for frequent e.g. every 15mins, testing of live and integrated into CI processes too.

I want to give the tests against live a higher priority than the CI tests and have been wondering about the best way to do this.

Would you recommend I use API keys with different priorities or set the priority via the runtest.php parameter?
Visit this user's website Find all posts by this user
Quote this message in a reply
02-22-2013, 07:07 AM
Post: #2
RE: Need advice on test priorities
It should be done automatically. By default API tests will get a priority of 5 and UI-submitted tests will get a priority of 0 (you can check your getLocations.php to see the different priority queues).

If you need more granular control (like to give big bulk tests an even lower priority) I usually do that explicitly from the app calling the API and pass it as a runtest.php parameter though using different keys would let you change them centrally without having to update any code.
Visit this user's website Find all posts by this user
Quote this message in a reply
02-22-2013, 08:55 PM
Post: #3
RE: Need advice on test priorities
Thanks, very helpful.

What I was going to do is set the monitoring tests as highest priority, UI submitted as medium, and the continuous integration tests as the lowest (though might swap the last two around depending on client preference)
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)