← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #163258]: Run a unit test multiple times

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
--- run your tests from command line using option -t and implement the
loop in a bat/cmd script.

--- The other option is to switch to using Pythons unittest module, so
you can script everything needed in a normal Sikuli script

# section test class preperation
#...
#every thing needed for the testcases
#...

for i in range(3):
    testrunner()

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