After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 349163 - utility function to run unittests, with optional XML output
utility function to run unittests, with optional XML output
Status: RESOLVED WONTFIX
Product: dogtail
Classification: Deprecated
Component: Framework
CVS HEAD
Other Linux
: Normal normal
: ---
Assigned To: Dogtail Maintainers
Dogtail Maintainers
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2006-07-29 12:43 UTC by Frederic Peters
Modified: 2011-02-07 06:06 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
dogtail.utils.run_tests and XmlTestRunner (13.35 KB, patch)
2006-07-29 12:45 UTC, Frederic Peters
none Details | Review

Description Frederic Peters 2006-07-29 12:43:52 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.
Comment 1 Frederic Peters 2006-07-29 12:45:16 UTC
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()
Comment 2 Fabio Durán Verdugo 2011-02-07 06:06:19 UTC
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.