From owner-freebsd-testing@FreeBSD.ORG Tue Feb 25 00:58:21 2014 Return-Path: Delivered-To: freebsd-testing@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1ABB1470; Tue, 25 Feb 2014 00:58:21 +0000 (UTC) Received: from mail-lb0-x235.google.com (mail-lb0-x235.google.com [IPv6:2a00:1450:4010:c04::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 377111B22; Tue, 25 Feb 2014 00:58:20 +0000 (UTC) Received: by mail-lb0-f181.google.com with SMTP id c11so138734lbj.40 for ; Mon, 24 Feb 2014 16:58:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=47DaFuOI45wpK9449/2M0O4k4O1R0v80qalAPYcwKWo=; b=BF0b75Hm/6mZr/HfWnCTklGYlkEZcp5x0lxkKVoYJa9FpVXWioZZVkYsqYVbNjYhnu 5kUNW8CL/sjF2ViBOccsFCSdwlddfxNunCapc+jVL7mVkA/1qUGV0i7EqLHH5dPv9oeT E89kC2po7IRWwvWeTNEHZAL3JWCRnh5MnpPMRXYMd7IoIFseIF/08pCF5jkvhj12Gr8F ACBop522ay38VW74AE0W9Zkij5q9hFOrFDhGp40uVsgIWFfVrsnZMq19aiZx4sYn91bw jMK9H4GsZF3FBmZEo+8SXrp39rJtxrnEojSLM3GTJIv0mfZbiAyD5/VSleqp4mlvzmlM xU1w== MIME-Version: 1.0 X-Received: by 10.112.14.1 with SMTP id l1mr13384254lbc.39.1393289898152; Mon, 24 Feb 2014 16:58:18 -0800 (PST) Sender: crodr001@gmail.com Received: by 10.112.30.211 with HTTP; Mon, 24 Feb 2014 16:58:18 -0800 (PST) In-Reply-To: References: Date: Mon, 24 Feb 2014 16:58:18 -0800 X-Google-Sender-Auth: QBGWCf7zHEs-wiDLv_3izZSQQcI Message-ID: Subject: Re: Generating Kyua test result output in JUnit XML format for Jenkins integration? From: Craig Rodrigues To: Alan Somers Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-testing@freebsd.org" , jenkins-admin@freebsd.org X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Feb 2014 00:58:21 -0000 On Mon, Feb 24, 2014 at 3:07 PM, Alan Somers wrote: > On Mon, Feb 24, 2014 at 2:11 PM, Craig Rodrigues > 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