qitest.test_queue – Coordinating test launchers¶
TestQueue¶
-
class
qitest.test_queue.
TestQueue
(tests)¶ A class able to run tests in parallel
-
run
(num_jobs=1, repeat_until_fail=0)¶ Run all the tests
-
summary
()¶ Display the tests results.
Called at the end of self.run() Sets
self.ok
-
sigint_handler
(*args)¶ Called when user press ctr+c during the test suite
- Tell qisys.command to kill every process still running
- Tell the tests_queue that is has been interrupted, and stop all the test workers
- Setup a second sigint for when killing process failed
-