GNOME Bugzilla – Bug 349163
utility function to run unittests, with optional XML output
Last modified: 2011-02-07 06:06:19 UTC
Integration of dogtail tests in jhbuild (and its tinderbox mode (bug 318531)) would be made easier by an uniform and documented XML output for test results. Fortunately such an XML output is now possible through Sebastian Rittau XMLTestRunner.
Created attachment 69871 [details] [review] dogtail.utils.run_tests and XmlTestRunner This patch incorporates XMLTestRunner and adds an utility function to dogtail/utils.py to replace call to unittest.main(). This allows to add a new and optional --xml arg. Dogtail tests should then use from dogtail.utils import run_tests if __name__ == '__main__': run_tests() instead of import unittest if __name__ == '__main__': unittest.main()
dogtail development has been stalled and it has been unmaintained for a few years now. Maintainers don't have future development plan so i am closing bugs as WONTFIX. Please feel free to reopen the bugs in future if anyone takes the responsibility for active development.