sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #02619
Re: [Question #152804]: Why does Sikuli not return to the IDE after running all unit tests?
Question #152804 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/152804
RaiMan posted a new comment:
@ Yuren Ju:
that's why it is called "Running scripts from command line" ;-)
When using the command line execution of scripts, the IDE never shows
up.
Your script configuration does not conform to the unit test framework in
the IDE.
A unit test script can only contain def()'s and has to be run in the IDE
in the unit test window (ctrl-u). a correctly configured unittest script
will never do anything when run normally in the IDE window.
So take care that your test-sikuli.sikuli only contains:
def testA(self):
print "Test"
assert (True)
and the
./sikuli-ide.sh -t ~/test-sikuli.sikuli/
should run, if all path/filenames are correct.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.