← Back to team overview

sikuli-driver team mailing list archive

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

RaiMan proposed the following answer:
... and there is some misunderstanding about tests pass/fail:
If in a test a not caught exception happens, the test is ended as error (neither pass nor fail).
If anything happens in the test, that does not break with an exception, the test will pass nevertheless.
Only assert yielding a result False will fail the test - but you do not have any asserts in your test!

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.