Re: [Sikuli-driver] [Question #267479]: Pyunit setup doesn't fail, but runs 0 tests and then OK

2015-05-28 Thread RaiMan
Question #267479 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/267479 RaiMan posted a new comment: LOL, magician ;-) I think it is only some more experience and insight, which allows me to help others, to get on the road. But thanks for the feedback anyway. -- You received

Re: [Sikuli-driver] [Question #267479]: Pyunit setup doesn't fail, but runs 0 tests and then OK

2015-05-28 Thread Erich Fiederer
Question #267479 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/267479 Status: Answered => Solved Erich Fiederer confirmed that the question is solved: Thank you raiman. You're like a magician. -- You received this question notification because you are a member of Sikuli

Re: [Sikuli-driver] [Question #267479]: Pyunit setup doesn't fail, but runs 0 tests and then OK

2015-05-27 Thread RaiMan
Question #267479 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/267479 RaiMan proposed the following answer: a working example having all .sikuli in the same folder: # main.sikuli import unittest class UnitTestX(unittest.TestCase): def testBatchview(self):

Re: [Sikuli-driver] [Question #267479]: Pyunit setup doesn't fail, but runs 0 tests and then OK

2015-05-27 Thread RaiMan
Question #267479 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/267479 Status: Open => Answered RaiMan proposed the following answer: without any other provisions, only def's whose name start with test are collected to the suite and hence run. Be aware: the sequence of run

[Sikuli-driver] [Question #267479]: Pyunit setup doesn't fail, but runs 0 tests and then OK

2015-05-27 Thread Erich Fiederer
New question #267479 on Sikuli: https://answers.launchpad.net/sikuli/+question/267479 Hello Raiman! I followed your suggestion, and started using runScript() for my testing setup. It does not crash, however it appears nothing is tested. Here is my main test file: from sikuli import * import un