Question #670579 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/670579

RaiMan proposed the following answer:
Generally you have to identify the parts, that are repeated the same way, but 
with different parameters (as I understand: your builds) and move those to 
reusable functions, that might reside in modules (other scripts). These 
functions are then called with a specific parameter set one after the other.
For this you have to get familiar with the Python function concept and read:
http://sikulix-2014.readthedocs.io/en/latest/scripting.html#importing-other-sikuli-scripts-reuse-code-and-images

Another option is to use the unittest approach, where you define different 
testcases and a setup/teardown that is repeated for every testcase. The 
testcases (if implemented accordingly) are completely independent. Then you can 
run a configurable series of testcases where each case may pass or fail, but 
all will be run.
This might well be combined with the features mentioned in comment #1.
https://docs.python.org/2/library/unittest.html

Of interest might then be the HTMLTestRunner feature, that produces nice 
testreports that can be opened in a browser.
https://answers.launchpad.net/sikuli/+question/670542

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to