← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #187835]: HTML reporting on multiple suites

 

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

RaiMan posted a new comment:
@nupur

--- Now wat exactly i hv to write to import latest changes of any test
script??

exactly how it is written above:

supposing you have a TestA.sikuli in the same directory as your
Main.sikuli.

# in Main.sikuli
import TestA
reload(TestA)

and the later you can say:
suite=unittest.TestLoader().loadTestsFromTestCase(TestA.UnitTestA)

supposing the test class in TestA is called UnitTestA.

The rest is standard Python stuff.

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