sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #06649
Re: [Question #177897]: Run some test cases usin unit test
Question #177897 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/177897
Status: Open => Answered
RaiMan proposed the following answer:
- talking about Sikuli IDE's unit test feature?
trying an answer:
- a testcase is coded in a def()
- the test case is run calling the def()
- the def()'s might be packed together in a modul that is loaded to execute the def()'s
e.g. principally
*** module tests.sikuli
def test1():
print "test1"
def test2():
print "test2"
def test3():
print "test3"
*** script runtests.sikuli in same folder
from tests import *
test1()
test2()
test3()
When you want to use the unit test feature, you have to do a bit more.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.