You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Antoine Toulme (JIRA)" <ji...@apache.org> on 2016/05/20 07:18:12 UTC

[jira] [Closed] (BUILDR-451) Groovy JUnit tests don't run

     [ https://issues.apache.org/jira/browse/BUILDR-451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Toulme closed BUILDR-451.
---------------------------------
    Resolution: Auto Closed

Closing for inactivity.

> Groovy JUnit tests don't run
> ----------------------------
>
>                 Key: BUILDR-451
>                 URL: https://issues.apache.org/jira/browse/BUILDR-451
>             Project: Buildr
>          Issue Type: Bug
>          Components: Test frameworks
>    Affects Versions: 1.3.5
>         Environment: OS X (Leopard), Ruby 1.8.6, Java 1.5, Groovy 1.7.1
>            Reporter: Rich Cariens
>              Labels: groovy, junit
>             Fix For: 1.5
>
>
> 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.  The following describes my project layout, OS, etc.  The project and build file can all be downloaded at http://code.google.com/p/shawty/.
> -snip-
> kaa:shawty rich$ buildr -V
> Buildr 1.3.5 
> kaa:shawty rich$ ruby -v
> ruby 1.8.6 (2009-06-08 patchlevel 369) [universal-darwin9.0]
> kaa: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:shawty rich$ find . -name "*.groovy"
> ./src/main/groovy/com/google/shawty/XPathExtractor.groovy
> ./src/test/groovy/com/google/shawty/XPathExtractorTests.groovy
> kaa: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: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-



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)