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 <[email protected]>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 <[email protected] > >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 <[email protected]> > 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 > >> > > > > >
