sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #15823
[Question #220737]: update of Sikuli's Jython for unitttest
New question #220737 on Sikuli:
https://answers.launchpad.net/sikuli/+question/220737
Hi all,
I'm experiencing some problems when using current Sikuli's Jython unittets module.
In the current version (I guess unittest 1.63) some of most useful unittest features are not (yet) available.
For example I'd like to skip some Sikuli testcases by using an instruction like : @unittest.skipIf(a_conditon) just before the TestCase() method.
I'm still trying to look for a workaround for that.
Ideally I'd like to use some script options passed by the Sikuli commandline to the Jython's sys.argv.
For example : Sikuli-IDE.bat -r mainTestClass.sikuli --args --suite suite1 --testcase test1,test2,test5
In the mainTestClass.sikuli I'll parse sys.argv and so I'll run only testsuite1.sikuli and only testcases test1() , test2() and test3() among all testcases defined in that testsuite.sikuli class.
Any idea about when Sikuli will integrate a new unittest version ?
Or, any idea about how to skip a testcase defined in a testsuite class with the current unittest version ?
Thanks a lot,
Rayan
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.