From owner-freebsd-testing@FreeBSD.ORG Sun Mar 16 04:58:14 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 01383229; Sun, 16 Mar 2014 04:58:14 +0000 (UTC) Received: from mail-la0-x235.google.com (mail-la0-x235.google.com [IPv6:2a00:1450:4010:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4ED9FD8C; Sun, 16 Mar 2014 04:58:13 +0000 (UTC) Received: by mail-la0-f53.google.com with SMTP id b8so2853138lan.12 for ; Sat, 15 Mar 2014 21:58:11 -0700 (PDT) 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=CQzoTyhLkNjPQVHnV5vnrfGzOHCqkZ2qtdSQy9nl4+M=; b=fqyFkKVKyCEqVm19gs6c7urOFX6/DK4g9FbROriK9yFcqQSRS6Gb81uSVAt9LcNR9W fQRilphNUr4ph6DwqGpTXLlbV4jyOar70l41dQ1fnTYJ0VDIW0etfYX/yG++g+CdFLgS ExjvSET91nbO2lwpYTVeuk3wqUzrFnZYa5VsvhMaOgeWPM3r44nYHTQjSNJGa4mB3VPI sLXkG+ZBrbYz+3DoFIupr/g20fEkBg7KpaVGlbgJcC26Tkk6bp+6N3X2UCO4B5XHLRwZ A+XL1/werWr8CfXD6Va13HYI8uSYAiBlhV2gBTUsrnnWxnvPzek6PYfAMoJaANgM13jF 5eHA== MIME-Version: 1.0 X-Received: by 10.152.170.137 with SMTP id am9mr11971748lac.15.1394945891255; Sat, 15 Mar 2014 21:58:11 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.169.68 with HTTP; Sat, 15 Mar 2014 21:58:11 -0700 (PDT) In-Reply-To: References: Date: Sat, 15 Mar 2014 21:58:11 -0700 X-Google-Sender-Auth: GcXnIgEbJPrdttuUN4JH6g6R5L0 Message-ID: Subject: Re: Generating Kyua test result output in JUnit XML format for Jenkins integration? From: Craig Rodrigues To: kyua-discuss@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 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: Sun, 16 Mar 2014 04:58:14 -0000 On Sat, Mar 15, 2014 at 9:38 PM, Julio Merino 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