Access Keys:
Skip to content (Access Key - 0)
Log in (Access Key - 5)



Toggle Sidebar

Run tests in a loop

The looping support of Molybdenum is very basic at the moment. It was mainly implemented to find memory leaks in web applications or sporadically occurring phenomena.

  • Only all tests in a suite can run in a loop
  • Parameterization of runs is not possible
  • A report will show the result of the last run only

How to setup looping?

  1. Goto the menu Edit --> Script Properties...
  2. Change the value of Loops to your needs. It is set to 1 by default
  3. Use the regular Run all tests command or the shortcut F9 to start tests in a loop

Accessing the loop counter

The loop counter can be accessed through the variable molybdenum_loop.

Print out the current loop
echo | We are in loop ${molybdenum_loop}

Loop counting starts with 0.

last edited on May 22, 2009 07:53
Adaptavist Theme Builder Powered by Atlassian Confluence