buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Boisvert <>
Subject Re: scala questions
Date Thu, 26 May 2011 23:03:34 GMT
On Thu, May 26, 2011 at 3:51 PM, Alexis Midon <> wrote:

> I've been using scala in some projects and wanted to use the latest 2.9
> version.
> I hit some incompatibilities with version 2.8.1 around the compiler options
> and the scalatest version. A patch is already drafted at
> I wanted to share it with you. I'm sure I missed other compatibility issues
> that you guys will catch.

Cool, I have a similar patch locally so I'll merge both of our changes
together and commit.

> Also, I noticed that, in a same module, you can have sources in src/java
> and
> in src/scala. They will be compiled and packaged in the same jar. Pretty
> cool.
> However it does not seem possible to do similar things with the unit tests.
> Only the scalatest are executed, my java unit tests are ignored.
> Am I missing something here? If it's actually not supported, what is your
> strategy to test both java and scala sources?

You can use JUnit to test both since ScalaTest can be wrapped as JUnit

> Can scalatest run both?

I don't believe so.


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