buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Toulme <anto...@lunar-ocean.com>
Subject Re: Groovy tests won't run (but I'm a noob)
Date Thu, 03 Jun 2010 00:39:17 GMT
Your contribution will be much welcome. We also take specs (to help
reproduce the problem).

On Wed, Jun 2, 2010 at 17:37, Rich Cariens <richcariens@gmail.com> wrote:

> BUILDR-451 opened.  I'll see if I can dig into the source and submit a
> patch.  This will be a good chance to learn Ruby :)
>
>
> On Wed, Jun 2, 2010 at 8:29 PM, Antoine Toulme <antoine@lunar-ocean.com>wrote:
>
>> No problem.
>>
>> No, it's not, but I'm suspecting we don't kick out junit when we find
>> .groovy files, so it qualifies as a bug.
>>
>> I would need to look at your sources - I will do so on my limited free
>> time - and I'll come back to you.
>>
>> So if you file a bug ... I won't forget about you :)
>>
>> On Wed, Jun 2, 2010 at 17:02, Rich Cariens <richcariens@gmail.com> wrote:
>>
>>> 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 <antoine@lunar-ocean.com>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 <antoine@lunar-ocean.com
>>>> >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 <richcariens@gmail.com>
>>>> 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
>>>> >>
>>>> >
>>>> >
>>>>
>>>
>>>
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message