In what order does sst execute tests in subfolders?

Asked by Konstantin on 2012-01-05

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:
2012-01-09
Last query:
2012-01-09
Last reply:
2012-01-08
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

Konstantin (konstantin1979) said : #2

Thank you.

Konstantin (konstantin1979) said : #3

Thanks Corey Goldberg, that solved my question.