sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #35446
[Question #273447]: Existing .sikuli ran in unittest
New question #273447 on Sikuli:
https://answers.launchpad.net/sikuli/+question/273447
Currently I have a bash script that executes all of my sikuli scripts. I would like to convert this into a unittest control. Is there a simple way to convert sikuli-ide -r or runsikulix -r into python so that I can encapsulate each sikuli script into a def test_folder1_sikuli()?
My initial goal is to just capture a print message.
In tests.sikuli (the unittest file) I would like to do something like this:
asssertEqual( [replacement_of_{sikuli-ide -r folder1.sikuli}() , "Success")
where:
folder1.sikuli/folder1.py only contains 'print "Success"'
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.