python tests reported to jenkins/hudson

10 views
Skip to first unread message

bear

unread,
Jul 25, 2011, 12:58:03 PM7/25/11
to mozilla...@googlegroups.com
http://pypi.python.org/pypi/junitxml

--
Bear

be...@xmpp.org (email)
bea...@gmail.com (xmpp, email)
be...@code-bear.com (xmpp, email)
http://code-bear.com/bearlog (weblog)

PGP Fingerprint = 9996 719F 973D B11B E111  D770 9331 E822 40B3 CD29

Kumar McMillan

unread,
Jul 25, 2011, 1:18:08 PM7/25/11
to mozilla...@googlegroups.com
On Mon, Jul 25, 2011 at 11:58 AM, bear <bea...@gmail.com> wrote:
> http://pypi.python.org/pypi/junitxml

If you're using the nosetests runner [1] there is a builtin plugin to
produce xunit output:

nosetests --with-xunit

For an example, you can look at the Zamboni build script which runs
tests in Jenkins --
https://github.com/jbalogh/zamboni/blob/master/scripts/build.sh#L83 --
and the zamboni recipe for how to parse the nosetests.xml file
https://jenkins.mozilla.org/job/amo-master/
(note that manage.py test here is the same as running nosetests)

[1] http://somethingaboutorange.com/mrl/projects/nose/1.0.0/

Reply all
Reply to author
Forward
0 new messages