18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
What is the order of execution of the tests when using _runUnitTests()
Hello,
What determines the order of execution of the test functions when you use _runUnitTests()?
Mike.
What determines the order of execution of the test functions when you use _runUnitTests()?
Mike.
Comments
_runUnitTests() executes all functions whose name starts with “test”. If functions setUp() and tearDown() are defined, they are executed before and after each test, irrespective of errors in the test functions.
Regards
Sumitra
The questions was what in what order the function _runUnitTests() runs the functions whose name starts with "test". If I have dependencies between these functions where one test sets conditions required by another test, how can I ensure they are executed in the proper sequence?
Mike.