← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #142947]: Sikuli-X - Unit test not working?

 

Question #142947 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/142947

    Status: Open => Needs information

RaiMan requested for more information:
Is a normal script (just a popup ("hallo") ) running?

If yes, then make the following test:

--1. Enter this in IDE:

def setUp(self):
	print "in Setup"

def tearDown(self):
	print "in tearDown"

def test_empty(self):
	print "in test"
	return True

--2. save the script e.g. test.sikuli (the script has to be saved after
each change of your script before the next testrun)

-- 3. go to Unittest Frame (ctrl/cmd-u) and click run. this should run
on all systems.

You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.