← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #160003]: Global variables and functions argument in unittest

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
I do not agree:
when you use the Python/Jython unittest module and run the scripts normally, you can do whatever you want (including import and giving parameters to the test scripts from commandline - anything that is possible in a Jython script).

And in cases, where you find any limitations with the Sikuli runner, you
could switch to run your scripts directly with the Jython interpreter
provided on your own (e.g. Jython 2.5.2).

The challenge with testing is, to make tests dependent from your
development: only run necessary tests (do not repeat things), find out
which features have not been tested yet and have a transparent reporting
on all these things. This where test suites come on the stage.

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