← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #676777]: Running few tests from a suite cmd

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Have a look at the unittest feature (which would be eqivalent to
organize your tests into classes and functions, but why invent the world
again ;-)

Another option is to have each test in a separate script and use the
runscript feature of SikuliX.

... and finally you can wrap each test sequence in 
if test in testsToRun:
    # the test snippet

where testsToRun is a list of test-numbers, which in turn could be
created based on the numbers given as commandline parameters.

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