sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #29606
Re: [Question #258628]: Placing Sikuli script in a queue
Question #258628 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/258628
Eugene Maslov posted a new comment:
Dear Raimund,
Creating the structure of files, which can run the tests in an unittest queue, is not simple from scratch, especially if the user has to transfer parameters.
I suggest, it would be fine to have some little official archive of sikuli files with the simple sample of a queued test.
For example:
- start.sikuli hub script, receiving some general parameters from the command line, collecting the suite of tests with their own parameters, and running it with HTMLTestRunner;
- tempate.sikuli containing __init__ with parsing coming parameters , some setUp, and some tearDown
- test.sikuli containing __init__ procedure to process coming parameters, some simple test itself, and __name__=='__main__' block at the bottom, allowing to debug the test from Sikuli IDE when necessary.
This tiny archive would save huge time of people getting familiar with
Sikuli, because normally it's really difficult for testers to write this
object-oriented skeleton.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.