buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Toulme <anto...@lunar-ocean.com>
Subject Re: Scala 2.8 and Spec
Date Thu, 16 Sep 2010 07:36:49 GMT
2.8 was supposed to be supported for some time now, Daniel might know the
trick to activate it.

On Thu, Sep 16, 2010 at 00:12, Rafa de Castro <rafael@refugioseguro.com>wrote:

> At the moment the simplest solution I found is manually changing the
> buildr-1.4.1-java\lib\buildr\scala\bdd.rb file of buildr and changing the
> default version of specs to the 2.8 one. Then it workd flawlessly with:
>
> test.using(:specs)
> test.with(MOCKITO)
>
> I suppose in 1.4.2 this will be the default.but it's a solution for all the
> people using 1.4.1 now.
>
> On 15 September 2010 20:01, Rafa de Castro <rafael@refugioseguro.com>
> wrote:
>
> > I'm building my project with buildr and I got it to compile but I can't
> > manage to make it run the tests.
> >
> > The global project is configured with
> >
> > Buildr.settings.build['scala.version'] = "2.8.0"
> > require 'buildr/scala'
> >
> > And I read that you must configure your subproject as
> >
> >    test.using(:junit)
> >    test.with(SPECS, MOCKITO)
> >
> > Then the correct version of specs is downloaded and the correct mockito.
> > The tests are also compiled correctly but they just don't run.
> >
> > If I try to run using
> >
> >    test.using(:specs)
> >    test.with(MOCKITO)
> >
> > the version for scala 2.7 is downloaded and my tests do not run
> >
> > When I run buildr test:peepingtom:client --trace I get
> >
> > ** Invoke peepingtom:client:test:setup (first_time)
> > ** Execute peepingtom:client:test:setup
> > ** Execute peepingtom:client:test
> > rm -rf D:/Paki/peepingtom/client/reports/junit
> > rm -rf D:/Paki/peepingtom/client/target/junit-failed
> > ** Invoke peepingtom:client:test:teardown (first_time)
> > ** Execute peepingtom:client:test:teardown
> >
> > So I've been a bit lost for 2 days now. Do I need to add something else
> to
> > run the tests?
> >
> > Thanks a lot in advance.
> >
> >
> > --
> > Rafa de Castro
> > rafael@micubiculo.com
> >
>
>
>
> --
> Rafa de Castro
> rafael@micubiculo.com
>

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