Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Mar 2014 21:58:11 -0700
From:      Craig Rodrigues <rodrigc@FreeBSD.org>
To:        kyua-discuss@googlegroups.com
Cc:        "freebsd-testing@freebsd.org" <freebsd-testing@freebsd.org>, "jenkins-admin@freebsd.org" <jenkins-admin@freebsd.org>
Subject:   Re: Generating Kyua test result output in JUnit XML format for Jenkins integration?
Message-ID:  <CAG=rPVezv6ZWEKc1Pan=MsRmuJp0HEPBvsLUjY5No_TUkGLLFA@mail.gmail.com>
In-Reply-To: <CAFY7cWAEpXCJg5UkERTO8Nbu2RbKB6YEsGdsgSKdv7Q_6mbHUQ@mail.gmail.com>
References:  <CAG=rPVcybpFyT2wKviRbqnY9jb728GbrCaXPbgPTH76dyCODQQ@mail.gmail.com> <CAFY7cWAgTdgj7XW2=fRuBAdwAYzvbs0ccDM8dgaGRbkBR8VeEA@mail.gmail.com> <CAG=rPVeVQhgjibXgRO_n8E8q_Ls%2BeKWw4juFVB-SLSustPzpfw@mail.gmail.com> <CAFY7cWAEpXCJg5UkERTO8Nbu2RbKB6YEsGdsgSKdv7Q_6mbHUQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 15, 2014 at 9:38 PM, Julio Merino <jmmv@meroh.net> wrote:
>>
>>> 3. Add a new module with the JUnit XML formatting code.
>>
>> I think that these are all fine goals.
>> I might be able to help with 3.
>
> If you want to try that's cool, but if you can provide me some sample
> outputs and a pointer to the schema I will do this sometime soon.


Nice!  Sounds like you are off to the races.
Are these links enough to get you started?

http://nose2.readthedocs.org/en/latest/plugins/junitxml.html
https://svn.jenkins-ci.org/trunk/hudson/dtkit/dtkit-format/dtkit-junit-model/src/main/resources/com/thalesgroup/dtkit/junit/model/xsd/junit-4.xsd
http://windyroad.com.au/dl/Open%20Source/JUnit.xsd

Once you start generating JUnit XML output, it is quite easy to test
this in Jenkins by doing (under FreeBSD):

(1)  pkg install devel/jenkins
(2)  add jenkins_enable="YES" to /etc/rc.conf
(3)  service jenkins start
(4)  import the XML via the web interface:
http://blog.zuehlke.com/wp-content/uploads/2013/10/configure_unit_test_results-755x266.png

If you don't want to spend time on setting up Jenkins, you can
certainly send any sample XML outputs
to jenkins-admin@freebsd.org and we can test those for you.

--
Craig



--
Craig



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG=rPVezv6ZWEKc1Pan=MsRmuJp0HEPBvsLUjY5No_TUkGLLFA>