← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #257267]: Execute tests from multiple classes with a single output file

 

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

    Status: Answered => Solved

Raza confirmed that the question is solved:
Thanks RaiMan,

Updated Runner.sikuli to this and it worked like a treat :)

#script Runner.sikuli
=================

runner = HTMLTestRunner.HTMLTestRunner(stream=fp, title='POS',
description='POS Sale')

loader = unittest.TestLoader()
suite1 = loader.loadTestsFromModule(Class1)
suite2 = loader.loadTestsFromModule(Class2)

all_suite = unittest.TestSuite([suite1,suite2])
runner.run(all_suite)

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