In what order does sst execute tests in subfolders?

Asked by Konstantin

In what order does sst execute tests in subfolders?
E.g. i have a folder alltests with two subfolders testA and testD with 1 *.py file in each.
and execute the sst with the command: sst-run -d alltests

sst runs testD first and then testA.

Ubuntu 11.10 64bit.

Thank you.

Question information

Language:
English Edit question
Status:
Solved
For:
selenium-simple-test Edit question
Assignee:
No assignee Edit question
Solved by:
Corey Goldberg
Solved:
Last query:
Last reply:
Revision history for this message
Best Corey Goldberg (coreygoldberg) said :
#1

the order is arbitrary, depending on several factors.

SST 0.1.0 does an `os.walk` to gather directories and `os.listdir` to load test cases. No specific order or sorting is enforced... so it is whatever order python's listdir returns filenames from your operating system.

from the os.listdir() docs:
  "The list is in arbitrary order"
  - http://docs.python.org/library/os.html?highlight=listdir#os.listdir

Revision history for this message
Konstantin (konstantin1979) said :
#2

Thank you.

Revision history for this message
Konstantin (konstantin1979) said :
#3

Thanks Corey Goldberg, that solved my question.