← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #193048]: How to create test execution reports in sikuli

 

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

j posted a new comment:
You can find a working xmltestrunner here:

http://pypi.python.org/pypi/XmlTestRunner/0.16654

You can use it like this:

import xmlrunner
import unittest

class MyTest(unittest.TestCase):
    def setUp(self):
        // setUp

    def testMyTest(self):
        // test

    def tearDown(self):
        // tearDown

suite = unittest.TestLoader().loadTestsFromTestCase(MyTest)
result = XMLTestRunner(file("unittest.xml", "w")).run(suite)

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