It seems ScalaTest's FlatSpec extends Suite and buildr is checking for tests with an interface org.scalatest.Suite.
I would expect buildr to pick up these tests. Buildr adds an empty reports/scalatest/last_successful_run file, but fails to run the tests. Do I have to specify org.scalatest.FlatSpec interface or should I expect the tests to run as is? Thanks! Tony On Fri, Jul 27, 2012 at 11:11 AM, Anthony Bargnesi <abargn...@gmail.com>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 > >