← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #673176]: Failed tests are marked as "error" instead of "failed" in report

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
basic unittesting knowledge:

a test has to return false or raise assert exception to signal failed.

if a test does not return anything, it is taken as passed.

hence:
assert exists()

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