← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #292717]: python unittest discover in SikuliX

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
no special thing in SikuliX. It is simply Python language.
The Interpreter though is Jython (Java based) and has some restrictions with external C-based modules.
... but the standard should be supported.

I just checked: In SikuliX 1.1.0 discover() is available (Python
language version 2.7)

unittest.TestLoader().discover(
        start_dir = ".",
        pattern = 'test_*.py'
    )

just returns a test-suite, that can be used normally.

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