dogtail-devel [Bug 349163] utility function to run unittests, with optional XML output
- From: "dogtail (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
- To: dogtail-devel-list gnome org
- Subject: dogtail-devel [Bug 349163] utility function to run unittests, with optional XML output
- Date: Sat, 29 Jul 2006 12:45:29 +0000 (UTC)
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=349163
dogtail | Framework | Ver: CVS HEAD
------- Comment #1 from Frederic Peters 2006-07-29 12:45 UTC -------
Created an attachment (id=69871)
--> (http://bugzilla.gnome.org/attachment.cgi?id=69871&action=view)
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()
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the QA contact for the bug.
You are watching the assignee for the bug.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]