sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #45704
Re: [Question #663899]: HTML reports shows pass even if the test Fails in Sikuli
Question #663899 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/663899
Status: Open => Answered
RaiMan proposed the following answer:
apparently you have a problem with the logger feature when running the
scripts in the IDE.
Try to run your script from commandline.
BTW: your concept is a little bit weird:
You are using UnitTest/HTMLTestRunner, but there is not one assert, to report what's going wrong in a test, but instead you use the logging feature to report whats going wrong.
In setup you should simply exit, if the tests cannot be run, same in
tearDown.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.