Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 46036D4FD for ; Tue, 20 Nov 2012 17:04:05 +0000 (UTC) Received: (qmail 22151 invoked by uid 500); 20 Nov 2012 17:04:04 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 22112 invoked by uid 500); 20 Nov 2012 17:04:04 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 22104 invoked by uid 99); 20 Nov 2012 17:04:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Nov 2012 17:04:04 +0000 X-ASF-Spam-Status: No, hits=-1.6 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [74.125.149.250] (HELO na3sys009aog132.obsmtp.com) (74.125.149.250) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Nov 2012 17:03:59 +0000 Received: from mail-fa0-f69.google.com ([209.85.161.69]) (using TLSv1) by na3sys009aob132.postini.com ([74.125.148.12]) with SMTP ID DSNKUKu36bl3JMAyE7u9GmjLPpr5MuHoPdmA@postini.com; Tue, 20 Nov 2012 09:03:38 PST Received: by mail-fa0-f69.google.com with SMTP id v1so2492706fav.0 for ; Tue, 20 Nov 2012 09:03:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=gpj47ch+RFTYxZUdRzq0meL7F2pUGsOFFZypUEya6HA=; b=ZktpgLQoBtR4n4NDpossxmkSnTQ84A8O1Z3FgH+WXxfQDjwhc/CpIgNe6QrUyCRfw9 OScHDCwmpOIQ2S6d1qErGkEeOcpKzaYJE9ezZjk9/EI2CX6g5OLLGg9DHkM5GygfPw3s 87QsIOSqAuvb2JsuRYnDSgpzyLJpY1utP7+FSoc2JHYgwQcODW06fAkE3FydfjntB/fd AckuO10QqziwzhQuWtOb3EBiSZvGVPNy3tsoP+1mILllrhUIJlzDK3wgZ3BIimJiaEv+ wl0ixNErOIVSv2pPcmFqBdtaKfkmiTyYQBslvVj89IRnxwCu+u2dgW73PF/maB2xlIz9 8u8g== Received: by 10.181.12.79 with SMTP id eo15mr15598504wid.14.1353431016243; Tue, 20 Nov 2012 09:03:36 -0800 (PST) MIME-Version: 1.0 Received: by 10.181.12.79 with SMTP id eo15mr15598493wid.14.1353431016127; Tue, 20 Nov 2012 09:03:36 -0800 (PST) Received: by 10.194.163.99 with HTTP; Tue, 20 Nov 2012 09:03:36 -0800 (PST) In-Reply-To: References: Date: Tue, 20 Nov 2012 12:03:36 -0500 Message-ID: Subject: Re: Preference for a JUnit Coverage Tool? From: Chip Childers To: cloudstack-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQmKt8yut8dzueZqC/fmJWa0FOwx3hp39MtoxfzngnlIBK4zLl3JIIxhC/UMFcNa+drWXza/a90DHgOaWIpin/j3lmeTO7pNq6azDeF/nA3xeORlhsV069hkCaJsiQDO2FVJIiY97FNAEYwsTSxYak2IMNH+D2tRYSGLMXIvURT0xCDt685oHT+FljreVyURQIwBQNBQ X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Nov 19, 2012 at 5:02 PM, Chip Childers wrote: > Hi all, > > Given our common agreement that we want to increase unit test coverage > in the project, I started down the path of trying to get a coverage > report generation process going. Then I realized I should ask the > list if there is a preference for tools. > > Does anyone have a preference? > > I've looked at emma [1] and cobertura [2] so far. > > -chip > > [1] http://search.maven.org/#artifactdetails%7Cemma%7Cemma%7C2.1.5320%7Cjar > [2] http://search.maven.org/#artifactdetails%7Ccobertura%7Ccobertura%7C1.9rc1%7Cjar Thanks for the input folks. It looks like cobertura may be the best bet, since it's available as a plugin on builds.a.o, as well as being embedded in sonar. Emma is pretty light weight, but doesn't look as active. Clover is great too, but isn't actually open source itself (and therefore would require going through some hoops to get it up and running). -chip