
The are many advantages to running test cases in a different order. Each time the order is changed, there is a possibility that new software bugs could be exposed. Running tests in several different orders helps to reduce this possibility.
When the -shuffle option is used on the buddy command-line, CDRouter will randomly run the order of all test cases. The log will also display the shuffle seed used to produce the test order:
INFO(setup): 15:12:46| Using Shuffle seed value 459916
The same test run can be reproduced using the -seed value option. For example,
# buddy -shuffle -seed 459916
For BuddyWeb users, the shuffle option is available in the Package Run Time Options:
Related articles that may also be helpful: