FlatSpec extends org.scalatest.Suite so it should be picked up as well.

I've just tested it locally with a small project and it works as expected.

I've created a gist that you can download/clone
https://gist.github.com/3188848 to try out.

On Fri, Jul 27, 2012 at 8:11 AM, Anthony Bargnesi <[email protected]>wrote:

> Hello,
>
> I have a project in scala that I'm attempting to test with
> buildr/ScalaTest.  It is configured like:
>
>
> define 'scala.project' do
>     require 'buildr/scala'
>     Buildr.settings.build['scala.version'] = "2.9.1"
>     test.using :scalatest
>     compile.using :target => '1.5'
>     compile.with SCALA_TEST
>     package(:jar, :id => PICKUP + 'scala.project').with \
>             :manifest => file(MANIFEST),
>             :meta_inf => file(SPRING_META)
>
> end
>
>
>
> I have two org.scalatest.FlatSpec specification tests that I want to
> run.  I ran "buildr test" and "buildr test --trace" and did not see
> these tests run.
>
>
> The documentation says that ScalaTest's org.scalatest.Suite classes
> will be picked up, but what about the FlatSpec classes?
>
>
> Thanks!
>
> Tony
>

Reply via email to