Date: Mon, 24 Feb 2014 16:58:18 -0800 From: Craig Rodrigues <rodrigc@FreeBSD.org> To: Alan Somers <asomers@freebsd.org> Cc: "freebsd-testing@freebsd.org" <freebsd-testing@freebsd.org>, jenkins-admin@freebsd.org Subject: Re: Generating Kyua test result output in JUnit XML format for Jenkins integration? Message-ID: <CAG=rPVfuz_K38KtvtCCkCNMADAc4d0xg_fSibbwZ%2BYy3NOF=PQ@mail.gmail.com> In-Reply-To: <CAOtMX2jU3DbxeX3CDJzmWkBAL4CsQK=zs5Vmp8uCFYFze1g%2Bnw@mail.gmail.com> References: <CAG=rPVd_32sXvZnx_btys=GgjNrxTmC8NAnkwd4U-hRu7eCx=A@mail.gmail.com> <CAOtMX2jU3DbxeX3CDJzmWkBAL4CsQK=zs5Vmp8uCFYFze1g%2Bnw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 24, 2014 at 3:07 PM, Alan Somers <asomers@freebsd.org> wrote: > On Mon, Feb 24, 2014 at 2:11 PM, Craig Rodrigues <rodrigc@freebsd.org> > wrote: > > Hi, > > > > Some Continuous Integration systems like Jenkins > > and Atlassian Bamboo can natively parse > > a test result format called JUnit XML. > > > > How hard would it be to add some code > > to Kyua to optionally be able to generate test result output > > in JUnit XML? > > > > Here is some example Junit XML output: > > > > http://nose2.readthedocs.org/en/latest/plugins/junitxml.html > > > > It would be super cool if by BSDCan we could demo: > > > > * start Kyua tests in Jenkins > > * have Kyua run the tests and generate the JUnit XML test output > > * have the tests results visible in the Jenkins web UI, something like: > > http://zbyhoo.files.wordpress.com/2011/05/jenkins-tests.png > > > > > > How hard would this be to do? > > > > Is there anyone available who is interested in working on this? > > This is a very awesome idea. Kyua's report-html command is only 286 > SLOC long, so this probably won't be very hard. Do you have a link to > the format specification? I'm afraid that I can't do the work, > however. I have extremely limited free time ATM. > The closest thing I have to a format specification are links to these XSD files: 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 (simple) http://windyroad.com.au/dl/Open%20Source/JUnit.xsd (more complicated) -- Craig
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG=rPVfuz_K38KtvtCCkCNMADAc4d0xg_fSibbwZ%2BYy3NOF=PQ>