← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #192876]: How to get unittest2 in Sikuli X-1.0rc3

 

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

Joost posted a new comment:
I would like to add: unittest2 has support for skipping test-cases.

I generate a lot of test-cases, as i have different environments,
browsers and languages that need to be tested (over 100 tests per use
case). The test classes and functinos are generated based on the
browsers, languages and environments that are available.

However, not every environment has support for all of the languages and
instead of defining which need to be skipped, this is detected in the
unittest and then unittest.skip() is called.

I might need to modify the HTMLRunner such that it also detects the
number of skipped tests (add a column), so that this does not get
registered as "Succes" (which it does right now). Although I think this
is trivial to implement (implement addSkip method that is called in the
HTMLRunner) I do not have time to do that right now.

The HTMLRunner and Unittest2 work correctly (no bug encountered yet)
with Sikuli r930 on Win7.

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