Return-Path: Delivered-To: apmail-buildr-users-archive@www.apache.org Received: (qmail 16093 invoked from network); 3 Jun 2010 00:02:59 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Jun 2010 00:02:59 -0000 Received: (qmail 55514 invoked by uid 500); 3 Jun 2010 00:02:59 -0000 Delivered-To: apmail-buildr-users-archive@buildr.apache.org Received: (qmail 55488 invoked by uid 500); 3 Jun 2010 00:02:59 -0000 Mailing-List: contact users-help@buildr.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@buildr.apache.org Delivered-To: mailing list users@buildr.apache.org Received: (qmail 55480 invoked by uid 99); 3 Jun 2010 00:02:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jun 2010 00:02:59 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of richcariens@gmail.com designates 209.85.160.172 as permitted sender) Received: from [209.85.160.172] (HELO mail-gy0-f172.google.com) (209.85.160.172) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jun 2010 00:02:51 +0000 Received: by gyh4 with SMTP id 4so5892597gyh.17 for ; Wed, 02 Jun 2010 17:02:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=HI9o/1kxh8emcS75XLAP1YrHzxXd/d8YfZ0ySMrAoLA=; b=rbUpzwfHgUS8pkf9DsSppoKmhLKfPmiZ4Q8dokjcF4b23m9TsJq1sZtz/cU12m+QtS PtLS18o/MC7VtZuR9xeSr1uAkcoZfMp5FslVYwlWjdf5SRV9/sWpRed65bQ1puwKGJfO J8GqwbBpHevc5szzIWRFMsNepBvRCBgbu20jw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=KmehErCBahESwRmbHJJE+e+MhzPOG/50ngsdWOq7ismc8dxVNBQ+NePaPcyooRuNTV NOEDFJDj4+Hwbols6Ew67QXzj6nco0VskBws7XnO6FjLFhsB6Gsp+TFbBfkV7SUqxtwf Rwv+4PLY9skolti+itjwSIl1FntCGY0KYGs0o= Received: by 10.150.207.21 with SMTP id e21mr8222680ybg.416.1275523350122; Wed, 02 Jun 2010 17:02:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.185.18 with HTTP; Wed, 2 Jun 2010 17:02:09 -0700 (PDT) In-Reply-To: References: From: Rich Cariens Date: Wed, 2 Jun 2010 20:02:09 -0400 Message-ID: Subject: Re: Groovy tests won't run (but I'm a noob) To: users@buildr.apache.org, antoine@lunar-ocean.com Content-Type: multipart/alternative; boundary=000e0cdf0ee42fd008048814ec9f X-Virus-Checked: Checked by ClamAV on apache.org --000e0cdf0ee42fd008048814ec9f Content-Type: text/plain; charset=UTF-8 Sorry about the attachment foul. Yes, the tests are written in groovy. You can see everything at http://code.google.com/p/shawty/. Is opening a bug (Jira issue?) normal protocol for this sort of thing? On Wed, Jun 2, 2010 at 7:29 PM, Antoine Toulme wrote: > BTW attachments are forbidden on those mailing lists. If you can reproduce > with a simple or open source project, please open a bug and point us to it. > > On Wed, Jun 2, 2010 at 16:28, Antoine Toulme >wrote: > > > Your tests are also written in groovy ? > > > > That's not clear to me. Are your junit tests in test/main ? > > > > > > On Wed, Jun 2, 2010 at 16:22, Rich Cariens > wrote: > > > >> Ahoy ahoy, > >> > >> I've got a very simple groovy project that I'd like to build and package > >> with Buildr, but my JUnit 4 tests never get executed. I've attached the > >> buildfile, and the following should describe my project layout, OS, etc. > >> I've read the manual and the online docs. I'm using Leopard and Buildr > >> 1.3.5. > >> > >> -snip- > >> kaa-2:shawty rich$ buildr -V > >> Buildr 1.3.5 > >> kaa-2:shawty rich$ ruby -v > >> ruby 1.8.6 (2009-06-08 patchlevel 369) [universal-darwin9.0] > >> kaa-2:shawty rich$ uname -a > >> Darwin kaa-2.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 > 16:55:01 > >> PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386 > >> kaa-2:shawty rich$ find . -name "*.groovy" > >> ./src/main/groovy/com/google/shawty/XPathExtractor.groovy > >> ./src/test/groovy/com/google/shawty/XPathExtractorTests.groovy > >> kaa-2:shawty rich$ find . -type d|grep -v "svn|com" > >> . > >> ./.settings > >> ./bin > >> ./src > >> ./src/main > >> ./src/main/groovy > >> ./src/test > >> ./src/test/groovy > >> ./src/test/resources > >> ./test > >> ./test/main > >> kaa-2:shawty rich$ buildr clean test > >> (in /Users/rich/Documents/workspace/shawty, development) > >> Cleaning shawty > >> Testing shawty > >> Compiling shawty into > >> /Users/rich/Documents/workspace/shawty/target/classes > >> [groovyc] Compiling 1 source file to > >> /Users/rich/Documents/workspace/shawty/target/classes > >> Compiling shawty:test into > >> /Users/rich/Documents/workspace/shawty/target/test/classes > >> [groovyc] Compiling 1 source file to > >> /Users/rich/Documents/workspace/shawty/target/test/classes > >> --> Shouldn't tests be run here? <-- > >> Completed in 1.178s > >> -snip- > >> > >> Many thanks in advance! > >> Rich > >> > > > > > --000e0cdf0ee42fd008048814ec9f--